Skip to main content

PivotGridFieldBase.GroupIntervalNumericRange Property

Gets or sets the length of the intervals when values are grouped together.

Namespace: DevExpress.XtraPivotGrid

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

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


public int GroupIntervalNumericRange { get; set; }

Property Value

Type Description

An integer value which specifies the length of the intervals when values are grouped together.



This member is not supported in Optimized and Server modes. Use DataSourceColumnBindingBase.GroupIntervalNumericRange instead.

The values of column and row fields can be grouped into intervals using the PivotGridFieldBase.GroupInterval property.

The GroupIntervalNumericRange property is in effect if the PivotGridFieldBase.GroupInterval property is set to PivotGroupInterval.Numeric, PivotGroupInterval.YearAge, PivotGroupInterval.MonthAge, PivotGroupInterval.WeekAge or PivotGroupInterval.DayAge. In these modes, the GroupIntervalNumericRange property determines the length of group intervals.

For instance, to group numeric values into intervals set the PivotGridFieldBase.GroupInterval property to PivotGroupInterval.Numeric. The GroupIntervalNumericRange property is set to 10 by default. So the numeric values will be combined into the following intervals: 0-9, 10-19, 20-29, etc.

To learn more, see Grouping.

See Also