Skip to content

@jsvision/datagrid / GridColumnInfo

Interface: GridColumnInfo

Defined in: datagrid/src/variant.ts:35

Read-only, resolved column metadata for a personalization UI: one column's id, header title, current visibility, resolved freeze side, and resolved width in cells. Produced by buildColumnInfos (the live layout) and defaultLayout (the construction-time baseline). frozen is the resolved partition membership — an over-pinned column reports 'none', matching grid.frozen(). width is the resolved (display) width; it is not an override signal — restoring the baseline omits a width rather than copying this number back.

Properties

frozen

readonly frozen: "left" | "right" | "none"

Defined in: datagrid/src/variant.ts:43

The resolved freeze side: pinned left, pinned right, or not frozen.


id

readonly id: string

Defined in: datagrid/src/variant.ts:37

The column id.


title

readonly title: string

Defined in: datagrid/src/variant.ts:39

The header title.


visible

readonly visible: boolean

Defined in: datagrid/src/variant.ts:41

Whether the column is currently visible (not hidden).


width

readonly width: number

Defined in: datagrid/src/variant.ts:45

The resolved width in cells (override → declared → auto → title).