PivotTableCalculateOption

PivotTableCalculateOption class

Rerepsents the options of calculating data of the pivot table.

class PivotTableCalculateOption;

Constructors

NameDescription
constructor()Default Constructor.

Properties

PropertyTypeDescription
refreshDatabooleanIndicates whether refreshing data source of the pivottable.
refreshChartsbooleanIndicates whether refreshing charts are based on this pivot table.
reserveMissingPivotItemTypeReserveMissingPivotItemTypeRepresents how to reserve missing pivot items.

constructor()

Default Constructor.

constructor();

refreshData

Indicates whether refreshing data source of the pivottable.

refreshData : boolean;

Remarks

If it is true, refresh pivot cache from data source,then calculate all pivot tables based same pivot cache.

refreshCharts

Indicates whether refreshing charts are based on this pivot table.

refreshCharts : boolean;

reserveMissingPivotItemType

Represents how to reserve missing pivot items.

reserveMissingPivotItemType : ReserveMissingPivotItemType;

Remarks

Only works when RefreshData is true.