Skip to main content
Row

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

Performs field grouping using the specified grouping properties.

Namespace: DevExpress.Spreadsheet

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

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

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

Parameters

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.

Remarks

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

The following code snippets (auto-collected from DevExpress Examples) contain references to the GroupItems(PivotGroupingValue, PivotGroupingValue, Double, PivotFieldGroupByType) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also