GridControl.GroupSummarySortInfo Property
Enables sorting group rows by their summary values.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v14.2.dll
#Declaration
[GridUIProperty]
[XtraSerializableProperty(true, false, false, 2147483647)]
[XtraResetProperty]
[Browsable(false)]
public GridGroupSummarySortInfoCollection GroupSummarySortInfo { get; }
#Property Value
Type | Description |
---|---|
Grid |
A Grid |
#Remarks
Group rows displayed within the grid can be sorted by their summary values (if any). Group rows are sorted by summary values based upon the information provided by GridGroupSummarySortInfo objects. The properties introduced by these objects specify the sort order, summary item used to calculate summary values for groups of rows, etc.
To sort group rows by summary values, you should create a new GridGroupSummarySortInfo object with the specified settings (group summary item, grouping column and sort order) and add it to the GroupSummarySortInfo collection. To cancel sorting the group rows by summary values, remove the corresponding GridGroupSummarySortInfo object from the collection.
End-users can sort group rows by summary values via a context menu:
NOTE
After group rows have been sorted by summary values, the sort order of a grouping column cannot be changed until the Grid
To learn more, see Sorting Group Rows by Summary Values and End-User Capabilities - Sorting Group Rows by Summary.