# RemotePivotHeader (@salmonui/data/json)

> The RemotePivotHeader interface of @salmonui/data/json: A header node as PivotHeaderNode.

Canonical: https://salmonui.dev/docs/reference/data/json/RemotePivotHeader

```ts
import type { RemotePivotHeader } from '@salmonui/data/json';
```

Also exported from `@salmonui/data`.

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

## Reference

Kind: interface

```ts
interface RemotePivotHeader {
    readonly key: string;
    readonly axis: 'rows' | 'columns';
    readonly kind: 'member' | 'subtotal' | 'grandTotal' | 'value';
    readonly path: readonly Json[];
    readonly field: string | null;
    readonly measure: string | null;
    readonly label: string;
    readonly depth: number;
    readonly position: number;
    readonly span: number;
    readonly expandable: boolean;
    readonly expanded: boolean;
    readonly children?: readonly RemotePivotHeader[];
}
```

A header node as `PivotHeaderNode`.

Members (13):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `key` | `readonly key: string;` |  |  |
| `axis` | `readonly axis: 'rows' \| 'columns';` |  |  |
| `kind` | `readonly kind: 'member' \| 'subtotal' \| 'grandTotal' \| 'value';` |  |  |
| `path` | `readonly path: readonly Json[];` |  |  |
| `field` | `readonly field: string \| null;` |  |  |
| `measure` | `readonly measure: string \| null;` |  |  |
| `label` | `readonly label: string;` |  |  |
| `depth` | `readonly depth: number;` |  |  |
| `position` | `readonly position: number;` |  |  |
| `span` | `readonly span: number;` |  |  |
| `expandable` | `readonly expandable: boolean;` |  |  |
| `expanded` | `readonly expanded: boolean;` |  |  |
| `children` | `readonly children?: readonly RemotePivotHeader[];` | optional |  |
