@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?
optionalcolspan:number|"*"
Defined in: src/core/column.ts:114
Column span for this cell. Use "*" to span to the end of the row.
cssClasses?
optionalcssClasses:string
Defined in: src/core/column.ts:116
Extra CSS classes applied to the cell node.
editor?
optionaleditor:EditorClass
Defined in: src/core/column.ts:120
Editor class override for this cell.
focusable?
optionalfocusable:boolean
Defined in: src/core/column.ts:118
Whether the cell can receive focus.
format?
optionalformat:ColumnFormat<TItem>
Defined in: src/core/column.ts:122
Formatter override for this cell.
formatter?
optionalformatter:CompatFormatter<TItem>
Defined in: src/core/column.ts:127
Legacy formatter override.
Deprecated
Use ColumnMetadata.format instead.
selectable?
optionalselectable:boolean
Defined in: src/core/column.ts:129
Whether the cell can be selected.
tabbable?
optionaltabbable:boolean
Defined in: src/core/column.ts:131
Whether the cell participates in tab navigation.