Skip to content

@jimka/typescript-ui / component/table / ColumnConfig

Interface: ColumnConfig

Defined in: src/typescript/lib/component/table/ColumnConfig.ts:12

Presentation configuration for a single table column.

References a model field by name and carries optional display constraints. Fields not mentioned in a ColumnSpec are auto-generated with default sizing unless appendUnlisted is set to false.

Properties

field

ts
field: string;

Defined in: src/typescript/lib/component/table/ColumnConfig.ts:14

The model field name this column presents.


headerGlyph?

ts
optional headerGlyph: string;

Defined in: src/typescript/lib/component/table/ColumnConfig.ts:30

Registry glyph name shown to the left of the header text. Omit for no glyph; no left-side gap is reserved when absent.


hidden?

ts
optional hidden: boolean;

Defined in: src/typescript/lib/component/table/ColumnConfig.ts:20

When true the column starts hidden; the user can still reveal it via the context menu.


maxWidth?

ts
optional maxWidth: number;

Defined in: src/typescript/lib/component/table/ColumnConfig.ts:18

Maximum width in pixels. The column cannot be dragged wider than this value.


minWidth?

ts
optional minWidth: number;

Defined in: src/typescript/lib/component/table/ColumnConfig.ts:16

Minimum width in pixels. The column cannot be dragged narrower than this value.


showSeconds?

ts
optional showSeconds: boolean;

Defined in: src/typescript/lib/component/table/ColumnConfig.ts:25

For time and datetime columns: when true the editor and renderer include seconds. Defaults to false (hours and minutes only).