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

PivotGridFieldOptions.ShowGroupIntervalName Property

Gets or sets whether to display a group interval name in the field header.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v20.2.Core.dll

NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.WindowsDesktop.PivotGrid.Core

Declaration

[DefaultValue(false)]
public bool ShowGroupIntervalName { get; set; }

Property Value

Type Default Description
Boolean **false**

true, to display a group interval name in the field header; otherwise, false

Property Paths

You can access this nested property as listed below:

Library Object Type Path to ShowGroupIntervalName
Cross-Platform Class Library PivotGridFieldBase
.Options .ShowGroupIntervalName
WinForms Controls PivotGridField
.Options .ShowGroupIntervalName
Reporting XRPivotGridField
.Options .ShowGroupIntervalName
ASP.NET MVC Extensions MVCxPivotGridField
.Options .ShowGroupIntervalName
ASP.NET Web Forms Controls PivotGridField
.Options .ShowGroupIntervalName

Remarks

If you use the Default group interval, the field’s caption stays the same. If you enable the property and set the group interval with the PivotGridFieldBase.GroupInterval property, the group interval name is displayed in the field header.

Run the following demo and change the group interval for the Order Date field to see changes in the field’s caption:

Run Demo: Interval Grouping

See Also