Skip to main content

PivotGridFieldOptions.ShowGroupIntervalName Property

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

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v24.1.Core.dll

NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation

Declaration

[PivotAPIMemberCategory(APICategory.RelationalSource)]
[TypeConverter(typeof(BooleanTypeConverter))]
[XtraSerializableProperty]
public bool ShowGroupIntervalName { get; set; }

Property Value

Type Description
Boolean

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

Property Paths

You can access this nested property as listed below:

Object Type Path to ShowGroupIntervalName
PivotGridFieldBase
.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