Click or drag to resize

IPivotField CreateGroup Method (DateTime, DateTime, PivotGroupByTypes , Int32)

Create group for current field.

Namespace: Spire.Xls.Core
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
void CreateGroup(
	DateTime start,
	DateTime end,
	PivotGroupByTypes[] groupByArray,
	int days
)

Parameters

start
Type: System DateTime
The start date time
end
Type: System DateTime
The end date time
groupByArray
Type: Spire.Xls PivotGroupByTypes
The array of group by types
days
Type: System Int32
The days
See Also