Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+
Row

PivotField.GroupItems(DateTime, DateTime, Int32, PivotFieldGroupByType) Method

Performs grouping by dates in the specified interval.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v19.1.Core.dll

Declaration

void GroupItems(
    DateTime startValue,
    DateTime endValue,
    int interval,
    PivotFieldGroupByType groupBy
)

Parameters

Name Type Description
startValue DateTime

A DateTime value that is the start of the time interval to group.

endValue DateTime

A DateTime value that is the end of the time interval to group.

interval Int32

An integer that is the number of days in each group. Applicable if the grouping type is PivotFieldGroupByType.Days.

groupBy PivotFieldGroupByType

A PivotFieldGroupByType enumeration value or a combination of values which specifies how the pivot field is grouped.

See Also