@serenity-is/sleekgrid / ItemMetadata
Interface: ItemMetadata<TItem>
Defined in: src/core/column.ts:149
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:153
Per-column metadata overrides for this row.
Index Signature
[key: string]: ColumnMetadata<TItem>
cssClasses?
optionalcssClasses:string
Defined in: src/core/column.ts:151
Extra CSS classes applied to the row node.
focusable?
optionalfocusable:boolean
Defined in: src/core/column.ts:155
Whether any cell in the row can receive focus.
format?
optionalformat:ColumnFormat<TItem>
Defined in: src/core/column.ts:157
Default formatter for all cells in the row.
formatter?
optionalformatter:CompatFormatter<TItem>
Defined in: src/core/column.ts:162
Legacy default formatter for the row.
Deprecated
Use ItemMetadata.format instead.
selectable?
optionalselectable:boolean
Defined in: src/core/column.ts:164
Whether any cell in the row can be selected.
tabbable?
optionaltabbable:boolean
Defined in: src/core/column.ts:166
Whether any cell in the row participates in tab navigation.