API reference: @salmonui/data-grid/engine
PersistedColumntype
import type { PersistedColumn } from '@salmonui/data-grid/engine';Also exported from @salmonui/data-grid/engine/persistence.
type PersistedColumn = {
readonly id: ColumnId;
readonly field: string | null;
readonly hidden: boolean;
readonly width?: number;
};
A column in runtime order.
| Name | Signature | Description |
|---|---|---|
id | readonly id: ColumnId; | Stable column id. |
field | readonly field: string | null; | |
hidden | readonly hidden: boolean; | |
widthoptional | readonly width?: number; | Runtime width in px; absent when the definition width applies. |