@serenity-is/sleekgrid / ColumnMetadata
Interface: ColumnMetadata<TItem>
Defined in: src/core/column.ts:120
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:122
Column span for this cell. Use "*" to span to the end of the row.
cssClass?
optionalcssClass:string
Defined in: src/core/column.ts:128
Extra CSS classes applied to the cell node, like Column.cssClass which applies to every
cell of the column. Note that the row level ItemMetadata.cssClasses is plural, as in
SlickGrid, but this one is singular.
cssClasses?
optionalcssClasses:string
Defined in: src/core/column.ts:134
Extra CSS classes applied to the cell node.
Deprecated
Use ColumnMetadata.cssClass instead, which is what the renderer reads and what SlickGrid uses. It still works as a fallback.
editor?
optionaleditor:EditorClass
Defined in: src/core/column.ts:138
Editor class override for this cell.
focusable?
optionalfocusable:boolean
Defined in: src/core/column.ts:136
Whether the cell can receive focus.
format?
optionalformat:ColumnFormat<TItem>
Defined in: src/core/column.ts:140
Formatter override for this cell.
formatter?
optionalformatter:CompatFormatter<TItem>
Defined in: src/core/column.ts:145
Legacy formatter override.
Deprecated
Use ColumnMetadata.format instead.
selectable?
optionalselectable:boolean
Defined in: src/core/column.ts:147
Whether the cell can be selected.
tabbable?
optionaltabbable:boolean
Defined in: src/core/column.ts:149
Whether the cell participates in tab navigation.