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.GroupingItemCount Property

Returns the current number of grouping items.

#Declaration

Delphi
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