Excel.Interfaces.PivotLayoutUpdateData interface
An interface for updating data on the PivotLayout
object, for use in pivotLayout.set({ ... })
.
Properties
auto |
Specifies if formatting will be automatically formatted when it's refreshed or when fields are moved. |
layout |
This property indicates the PivotLayoutType of all fields on the PivotTable. If fields have different states, this will be null. |
preserve |
Specifies if formatting is preserved when the report is refreshed or recalculated by operations such as pivoting, sorting, or changing page field items. |
show |
Specifies if the PivotTable report shows grand totals for columns. |
show |
Specifies if the PivotTable report shows grand totals for rows. |
subtotal |
This property indicates the |
Property Details
autoFormat
Specifies if formatting will be automatically formatted when it's refreshed or when fields are moved.
autoFormat?: boolean;
Property Value
boolean
Remarks
layoutType
This property indicates the PivotLayoutType of all fields on the PivotTable. If fields have different states, this will be null.
layoutType?: Excel.PivotLayoutType | "Compact" | "Tabular" | "Outline";
Property Value
Excel.PivotLayoutType | "Compact" | "Tabular" | "Outline"
Remarks
preserveFormatting
Specifies if formatting is preserved when the report is refreshed or recalculated by operations such as pivoting, sorting, or changing page field items.
preserveFormatting?: boolean;
Property Value
boolean
Remarks
showColumnGrandTotals
Specifies if the PivotTable report shows grand totals for columns.
showColumnGrandTotals?: boolean;
Property Value
boolean
Remarks
showRowGrandTotals
Specifies if the PivotTable report shows grand totals for rows.
showRowGrandTotals?: boolean;
Property Value
boolean
Remarks
subtotalLocation
This property indicates the SubtotalLocationType
of all fields on the PivotTable. If fields have different states, this will be null
.
subtotalLocation?: Excel.SubtotalLocationType | "AtTop" | "AtBottom" | "Off";
Property Value
Excel.SubtotalLocationType | "AtTop" | "AtBottom" | "Off"
Remarks
Office Add-ins