PivotGridFieldBase.GroupIntervalNumericRange Property

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

Namespace: DevExpress.XtraPivotGrid

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

Declaration

[DefaultValue(10)]
public int GroupIntervalNumericRange { get; set; }
<DefaultValue(10)>
Public Property GroupIntervalNumericRange As Integer

Property Value

Type Default Description
Int32

10

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

Remarks

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