# PivotExportCellContext (@salmonui/export/pivot)

> The PivotExportCellContext interface of @salmonui/export/pivot.

Canonical: https://salmonui.dev/docs/reference/export/pivot/PivotExportCellContext

```ts
import type { PivotExportCellContext } from '@salmonui/export/pivot';
```

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

## Reference

Kind: interface

```ts
interface PivotExportCellContext {
    readonly row: PivotExportHeader;
    readonly column: PivotExportHeader | null;
    readonly pivotCell: PivotExportCell | null;
    readonly level: number;
    readonly cell: ExportCell;
}
```

Members (5):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `row` | `readonly row: PivotExportHeader;` |  | Leaf row and column headers; `column` is null in row header columns. |
| `column` | `readonly column: PivotExportHeader \| null;` |  |  |
| `pivotCell` | `readonly pivotCell: PivotExportCell \| null;` |  | The value cell; null in row header columns. |
| `level` | `readonly level: number;` |  | Row header level (tabular layout) or -1 for value cells. |
| `cell` | `readonly cell: ExportCell;` |  | The computed export cell. |
