corelibraries-devexpress-dot-xtrapivotgrid-dot-pivotgridfieldbase-3752316c.md
Gets or sets the length of the intervals when values are grouped together.
Namespace : DevExpress.XtraPivotGrid
Assembly : DevExpress.PivotGrid.v25.2.Core.dll
NuGet Packages : DevExpress.PivotGrid.Core, DevExpress.Win.Navigation
[DefaultValue(10)]
public int GroupIntervalNumericRange { get; set; }
<DefaultValue(10)>
Public Property GroupIntervalNumericRange As Integer
| Type | Default | Description |
|---|---|---|
| Int32 | 10 |
An integer value which specifies the length of the intervals when values are grouped together.
|
Note
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