TcxDataControllerGroups.GroupingItemCount Property
Returns the current number of grouping items.
Declaration
property GroupingItemCount: Integer read;
Property Value
Type |
---|
Integer |
Remarks
Use the GroupingItemCount property to determine the number of items by which grid data is grouped. If grid data is presented by using the grid view, this property returns the number of columns whose GroupIndex property value is greater than -1.
To change the group order use the ChangeGrouping method. It allows you to set a group index or delete grouping by a specific item.
Use the GroupingItemIndex property to define the grouping item position within a collection of all items. The ItemGroupIndex property performs the opposite operation. It returns the group index of the item at a specific position within the collection.
See Also