@serenity-is/sleekgrid / ItemMetadata
Interface: ItemMetadata<TItem>
Defined in: src/core/column.ts:167
Row-level metadata that can influence rendering and interaction.
Returned by DataView.getItemMetadata(row).
Type Parameters
TItem
TItem = any
Row item type.
Properties
columns?
optionalcolumns:object
Defined in: src/core/column.ts:171
Per-column metadata overrides for this row.
Index Signature
[key: string]: ColumnMetadata<TItem>
cssClasses?
optionalcssClasses:string
Defined in: src/core/column.ts:169
Extra CSS classes applied to the row node.
focusable?
optionalfocusable:boolean
Defined in: src/core/column.ts:173
Whether any cell in the row can receive focus.
format?
optionalformat:ColumnFormat<TItem>
Defined in: src/core/column.ts:175
Default formatter for all cells in the row.
formatter?
optionalformatter:CompatFormatter<TItem>
Defined in: src/core/column.ts:180
Legacy default formatter for the row.
Deprecated
Use ItemMetadata.format instead.
selectable?
optionalselectable:boolean
Defined in: src/core/column.ts:182
Whether any cell in the row can be selected.
tabbable?
optionaltabbable:boolean
Defined in: src/core/column.ts:184
Whether any cell in the row participates in tab navigation.