TcxDataControllerGroups.ChangeGrouping(Integer,Integer,Boolean,Boolean) Method
In This Article
Sets the group index for a specified item
#Declaration
Delphi
#Parameters
Name | Type |
---|---|
AItem |
Integer |
AGroup |
Integer |
AMerge |
Boolean |
AMerge |
Boolean |
#Remarks
The ChangeGrouping method allows you to set the group index for an item. The item is addressed by its position within a collection of all items. The AGroupIndex parameter defines a new group index. To delete grouping by a specific item you must pass -1 as the AGroupIndex parameter. The number of current grouping items is defined via the GroupingItemCount property. To determine the current group index for an item, use the ItemGroupIndex property.
See Also