Aspose::Cells::Pivot::PivotField::Group method

PivotField::Group() method

Automatically group the field.

bool Aspose::Cells::Pivot::PivotField::Group()

Remarks

If the field only contains blank and date time, the field will be grouped by Months. If the field only contains blank and number, the field will be grouped by Number. Else only returns false without any group.

See Also

PivotField::Group(const PivotFieldGroupOptions&) method

Groups the pivot field with options.

bool Aspose::Cells::Pivot::PivotField::Group(const PivotFieldGroupOptions &options)
ParameterTypeDescription
optionsconst PivotFieldGroupOptions&Options for pivot field grouping settings.

ReturnValue

See Also