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

GridOptionsMenu.ShowGroupSortSummaryItems Property

Gets or sets whether a context menu for grouping columns contains commands that allow group rows to be sorted according to group summary values.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v24.2.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

#Declaration

[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool ShowGroupSortSummaryItems { get; set; }

#Property Value

Type Default Description
Boolean true

true if a grouping column’s context menu contains these commands; otherwise, false.

#Property Paths

You can access this nested property as listed below:

Object Type Path to ShowGroupSortSummaryItems
GridView
.OptionsMenu .ShowGroupSortSummaryItems

#Remarks

It’s possible to calculate group summaries against groups of rows, and then sort group rows according to the group summary values.

If group summaries are created and the ShowGroupSortSummaryItems property is enabled, the context menus for grouping columns contain special commands that allow an end-user to sort group rows according to the group summary values:

Data Grid - Summaries - Sorting by Summaries

When group rows corresponding to a specific grouping column are sorted according to the group summary values, a special glyph is displayed within the grouping column, indicating the current sort order.

To learn how to sort group rows by group summary values in code, see Summaries.

See Also