Skip to main content

TcxDataControllerGroups.Level Property

Returns the hierarchy level of the currently processed data group.

Declaration

property Level[ADataGroupIndex: TcxDataGroupIndex]: Integer read;

Property Value

Type
Integer

Remarks

If grouped by items, data groups are displayed in the grid hierarchically, at different levels.

The root level is -1. The Level property’s value for the top-level data groups is 0. For each level from top to bottom, the value is incremented by 1.

ADataGroupIndex specifies the data group’s index whose level is to be returned.

See Also