Skip to main content

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

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