# PivotDialogState (@salmonui/pivot-table)

> The PivotDialogState type of @salmonui/pivot-table.

Canonical: https://salmonui.dev/docs/reference/pivot-table/PivotDialogState

```ts
import type { PivotDialogState } from '@salmonui/pivot-table';
```

Entry index: https://salmonui.dev/docs/reference/pivot-table (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/pivot-table.md).

## Reference

Kind: type

```ts
type PivotDialogState = {
    readonly kind: 'fieldList';
} | {
    readonly kind: 'memberEditor';
    readonly field: string;
} | {
    readonly kind: 'calculatedField';
    readonly name: string | null;
} | {
    readonly kind: 'numberFormat';
    readonly measure: string | null;
} | {
    readonly kind: 'conditionalFormat';
} | {
    readonly kind: 'grouping';
    readonly field: string;
} | {
    readonly kind: 'drillThrough';
    readonly rowIndex: number;
    readonly columnIndex: number;
    readonly rowKey: string;
    readonly columnKey: string;
};
```
