Skip to content

@jsvision/datagrid / GridVariantColumn

Interface: GridVariantColumn

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

One column entry in a GridVariant: its id, whether it is visible, and — only when the column carries an explicit width override — that width. Array position in GridVariant.columns is the column's order (hidden columns are kept in place).

Properties

id

readonly id: string

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

The column id.


visible

readonly visible: boolean

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

Whether the column is visible (a hidden column stays in the order with visible: false).


width?

readonly optional width?: number

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

An explicit width override, in cells; omitted when the column has no override (auto/declared width).