PivotField.GroupItems(DateTime, DateTime, Int32, PivotFieldGroupByType) Method
Performs grouping by dates in the specified interval.
Namespace: DevExpress.Spreadsheet
Assembly: DevExpress.Spreadsheet.v25.1.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
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