# WorkbookFeatures.pivotTables Property

> WorkbookFeatures.pivotTables property in the browser TypeScript API, with its type PivotTableDefinition[] | undefined and a TypeScript example.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Property
- **Path:** TX Sheet Control > API Reference > TypeScript API > Browser Editor > WorkbookFeatures > WorkbookFeatures.pivotTables Property
- **218 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/workbookfeatures/pivottables-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/workbookfeatures/pivottables-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/workbookfeatures/pivottables-property/llms-full.txt

---

Detached serialized pivot definitions retained in workbook feature metadata. Use workbook and worksheet pivot collections for validated authoring and refresh operations.

### Syntax

```typescript
pivotTables?: PivotTableDefinition[] | undefined
```

### Examples

Apply these settings to a workbook owned by an initialized editor or server control.

```typescript
import type { WorkbookFeatures } from '@txtextcontrol/tx-sheet-control';

function resetTemplatePivots(features: WorkbookFeatures): WorkbookFeatures {
    return { ...features, pivotTables: [] };
}
```

### See Also

- [WorkbookFeatures](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/workbookfeatures/llms-full.txt)

---

## Nearby

- **Previous:** [WorkbookFeatures.names Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/workbookfeatures/names-property/llms-full.txt)
- **Next:** [WorkbookOptions Interface](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/workbookoptions/llms-full.txt)
