WorkbookFeatures.pivotTables Property
Detached serialized pivot definitions retained in workbook feature metadata. Use workbook and worksheet pivot collections for validated authoring and refresh operations.
Syntax
pivotTables?: PivotTableDefinition[] | undefined
Examples
Apply these settings to a workbook owned by an initialized editor or server control.
import type { WorkbookFeatures } from '@txtextcontrol/tx-sheet-control';
function resetTemplatePivots(features: WorkbookFeatures): WorkbookFeatures {
return { ...features, pivotTables: [] };
}