Skip to main content

TcxPivotGridViewDataItem.Level Property

Gets a depth of the currently processed field value in a field values hierarchy.

Declaration

property Level: Integer read;

Property Value

Type
Integer

Remarks

Column field values or row field values are arranged in the view into hierarchical tree, if two or more fields are dropped in the column header area or row header area. Each outer field value is the parent for the inner field values.

The root of the tree is the TcxPivotGridViewDataItem instance, which is invisible to end-users.

Note

the Level property’s value of the root instance is -1 (the Parent property returns a value of nil).

Use the Level property to return the hierarchical level of the currently processed field value.

See Also