Skip to content

@serenity-is/sleekgrid / ColumnMetadata

Interface: ColumnMetadata<TItem>

Defined in: src/core/column.ts:112

Per-cell metadata that can override column-level settings for a specific row.

Type Parameters

TItem

TItem = any

Row item type.

Properties

colspan?

optional colspan: number | "*"

Defined in: src/core/column.ts:114

Column span for this cell. Use "*" to span to the end of the row.


cssClasses?

optional cssClasses: string

Defined in: src/core/column.ts:116

Extra CSS classes applied to the cell node.


editor?

optional editor: EditorClass

Defined in: src/core/column.ts:120

Editor class override for this cell.


focusable?

optional focusable: boolean

Defined in: src/core/column.ts:118

Whether the cell can receive focus.


format?

optional format: ColumnFormat<TItem>

Defined in: src/core/column.ts:122

Formatter override for this cell.


formatter?

optional formatter: CompatFormatter<TItem>

Defined in: src/core/column.ts:127

Legacy formatter override.

Deprecated

Use ColumnMetadata.format instead.


selectable?

optional selectable: boolean

Defined in: src/core/column.ts:129

Whether the cell can be selected.


tabbable?

optional tabbable: boolean

Defined in: src/core/column.ts:131

Whether the cell participates in tab navigation.