Skip to main content

TcxDataControllerGroups Class

Contains information about data groups in a grid control.

Declaration

TcxDataControllerGroups = class(
    TObject
)

Remarks

When you group data by items, a hierarchy of data groups is created and grid data is displayed at different levels. To address an individual data group, you need to supply its index. It defines the data group position in a grid control. Data groups can have other data groups as children. And every data group has a parent data group. Data groups at level 0 have their parent reference set to -1.

Data group indexes are used to identify an individual data group. For instance, to get a group summary value for a specific data group you can supply its index in the GroupSummaryValues property. Refer to the appropriate example.

Use the DataGroupIndexByRowIndex property to identify a data group that contains a specific row. To identify parent and child data groups, use the ParentDataGroupIndex and ChildDataGroupIndex properties.

A data controller’s TcxCustomDataController.Groups property references a TcxDataControllerGroups object.

Inheritance

TObject
TcxDataControllerGroups
See Also