# PersistedColumn (@salmonui/data-grid/engine)

> The PersistedColumn type of @salmonui/data-grid/engine: A column in runtime order.

Canonical: https://salmonui.dev/docs/reference/data-grid/engine/PersistedColumn

```ts
import type { PersistedColumn } from '@salmonui/data-grid/engine';
```

Also exported from `@salmonui/data-grid/engine/persistence`.

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

## Reference

Kind: type

```ts
type PersistedColumn = {
    readonly id: ColumnId;
    readonly field: string | null;
    readonly hidden: boolean;
    readonly width?: number;
};
```

A column in runtime order.

Members (4):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `id` | `readonly id: ColumnId;` |  | Stable column id. |
| `field` | `readonly field: string \| null;` |  |  |
| `hidden` | `readonly hidden: boolean;` |  |  |
| `width` | `readonly width?: number;` | optional | Runtime width in px; absent when the definition width applies. |
