Skip to main content

TcxPivotGridViewDataItem.Index Property

Gets the zero-based index of the currently processed field value in the Items collection.

Declaration

property Index: Integer read;

Property Value

Type
Integer

Remarks

Column field values and row field values are displayed in the pivot grid in hierarchical order, if two or more fields are dropped in the column header area or row header area. A hierarchical tree is rooted at the TcxPivotGridViewDataItem instance, which is invisible to end-users.

Every outer field value is the parent for inner field values. The parent field value contains a set of child field values in the Items collection.

Use the Index property to return the field value’s index that identifies the field value’s position in the Items collection.

See Also