TcxGridColumnSummary.SortByGroupFooterSummary Property
Specifies if column group summary values displayed in group footer panels are used to sort data groups.
Declaration
property SortByGroupFooterSummary: 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 footer summaries for the column. If the object doesn’t exist, it’s created using a value of spFooter 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.GroupFooterKind and Summary.GroupFooterFormat properties.
When the SortByGroupFooterSummary 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 rows, set the SortByGroupSummary 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).