TcxDataControllerGroups.DataGroupIndexByRowIndex Property
Returns the data group index for a specified row index.
Declaration
property DataGroupIndexByRowIndex[RowIndex: Integer]: TcxDataGroupIndex read;
Property Value
Type |
---|
TcxDataGroupIndex |
Remarks
Row index defines the visible row position within a grid control. DataGroupIndexByRowIndex returns the index of the data group which owns a specified row. Use the ParentDataGroupIndex and ChildDataGroupIndex properties to return indexes of the parent and child data groups.
The following image demonstrates relations between row and data group indexes.
For this sample grid control:
DataGroupIndexByRowIndex[0] returns 0
DataGroupIndexByRowIndex[1] returns 1
DataGroupIndexByRowIndex[2] returns 1
See Also