Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxDataControllerGroups Class

Contains information about data groups in a grid control.

#Declaration

Delphi
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