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

TcxGridColumnSummary.SortByGroupSummary Property

Specifies if column group summary values displayed in group rows are used to sort data groups.

#Declaration

Delphi
property SortByGroupSummary: Boolean read; write;

#Property Value

Type
Boolean

#Remarks

Enabling this option assigns True to the Sorted property of the first summary object that calculates group row summaries for the column. If the object doesn’t exist, it’s created using a value of spGroup for its Position property and default values for its Kind and Format properties. You can modify default values for these properties via the column’s Summary.GroupKind and Summary.GroupFormat properties.

When the SortByGroupSummary property is set to False the summary object is deleted provided that its Kind and Format properties are assigned default values.

To sort data groups by a column’s group summary values displayed in group footer panels, set the SortByGroupFooterSummary property to True. End-users can choose the sort method from the Group Row Popup Menu.

Note

Sorting by summary values cannot be performed if summaries are calculated for the selected records only (either the soSelectedRecords or soMultipleSelectedRecords flag is set via the data controller’s Summary.Options property).

See Also