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.v21.2.dll
NuGet Packages: DevExpress.Win.Design, DevExpress.Win.Grid
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 |
---|---|
GridView |
|
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:
In code, you can specify the group interval for columns via the GridColumn.GroupInterval property. See this topic to learn more.