[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.Commands.PivotTables.PivotTableCommand.Group

Group Method

Group(IRange, double?, double?, double?, PivotGroupPeriods[])

Initializes a new command to group specified range inside IPivotTable.

Declaration
public static Command Group(IRange range, double? start, double? end, double? interval, PivotGroupPeriods[] periods)
Public Shared Function Group(range As IRange, start As Double?, [end] As Double?, interval As Double?, periods As PivotGroupPeriods()) As Command
Parameters
Type Name Description
IRange range

The specfied IRange object.

double? start

The first value to be grouped

double? end

The last value to be grouped

double? interval

If the field is numeric, this argument specifies the size of each group. If the field is a date, this argument specifies the number of days.

PivotGroupPeriods[] periods

An array of PivotGroupPeriods that specify the period for the date group.

Returns
Type Description
Command

A Command to process group.