Skip to main content
A newer version of this page is available. .

GridOptionsMenu.ShowDateTimeGroupIntervalItems Property

Gets or sets whether a menu that enables switching group modes for date-time columns is available at runtime.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v19.2.dll

Declaration

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

Property Value

Type Default Description
Boolean **true**

true if a menu that enables switching group modes for date-time columns is available at runtime; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to ShowDateTimeGroupIntervalItems
AdvBandedGridView
.OptionsMenu.ShowDateTimeGroupIntervalItems
BandedGridView
.OptionsMenu.ShowDateTimeGroupIntervalItems
GridView
.OptionsMenu.ShowDateTimeGroupIntervalItems

Remarks

If the ShowDateTimeGroupIntervalItems option is enabled, an end-user can change the group interval for grouping date-time columns at runtime via a context menu. The following image shows this menu with the Month group interval enabled for the Order Date column:

ShowDateTimeGroupIntervalItems

In code, you can specify the group interval for columns via the GridColumn.GroupInterval property. See this topic to learn more.

See Also