.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

PivotField.GroupItems(PivotGroupingValue, PivotGroupingValue, Double, PivotFieldGroupByType) Method

Performs field grouping using the specified grouping properties.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v21.2.Core.dll


void GroupItems(
    PivotGroupingValue startValue,
    PivotGroupingValue endValue,
    double interval,
    PivotFieldGroupByType groupBy


Name Type Description
startValue PivotGroupingValue

A PivotGroupingValue object that specifies the starting value.

endValue PivotGroupingValue

A PivotGroupingValue object that specifies the ending value.

interval Double

A Double value that specifies the grouping interval for numeric range grouping or the number of days to group by in date range grouping.

groupBy PivotFieldGroupByType

A PivotFieldGroupByType enumeration value or a combination of values that specifies the grouping.


Use this method to apply grouping parameters obtained with the PivotField.GroupingInfo property of another grouped pivot field.

See Also