# PivotDefaultExpandedValue

> _Since v1.31.0_

Value that determines which groups are expanded by default.
- `true` — Expand all groups
- `false` — Collapse all groups
- `number` — Expand group at this index
- `string` — Expand group with this key
- `string[]` — Expand groups matching these keys

```ts
type PivotDefaultExpandedValue = boolean | number | string | string[]
```
