Skip to main content

TcxDataControllerGroups.ChildRecordIndex Property

Returns the index of the record within a specific data group.

Declaration

property ChildRecordIndex[ParentDataGroupIndex: TcxDataGroupIndex; ChildIndex: Integer]: Integer read;

Property Value

Type
Integer

Remarks

Use this property to access the index of the record that corresponds to the data row within a data group addressed by the ParentDataGroupIndex parameter. The ChildIndex parameter specifies the index of this data row. Both these parameters accept only zero-based indexes.

The ChildRecordIndex property returns -1 if the specified data group or row cannot be found.

See Also