Skip to main content

Sorting Group Rows by Summary Values

When a grid's data is grouped, rows are always sorted against grouping columns. By default, group rows are sorted in the order specified by a corresponding grouping column. If a grid displays group summaries, group rows can also be sorted by their summary values.

SortGroupRowsBySummary

To sort group rows by their summary values in code:

After this object has been added to the collection, group rows are automatically sorted by their group summary values. To cancel sorting in code, remove this object from the collection.

End-users can sort group rows by summary values using a column header's context menu. To learn more, see End-User Capabilities - Sorting Group Rows By Summary.

#Example