Skip to content

@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?

optional columns: object

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

Per-column metadata overrides for this row.

Index Signature

[key: string]: ColumnMetadata<TItem>


cssClasses?

optional cssClasses: string

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

Extra CSS classes applied to the row node.


focusable?

optional focusable: boolean

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

Whether any cell in the row can receive focus.


format?

optional format: ColumnFormat<TItem>

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

Default formatter for all cells in the row.


formatter?

optional formatter: CompatFormatter<TItem>

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

Legacy default formatter for the row.

Deprecated

Use ItemMetadata.format instead.


selectable?

optional selectable: boolean

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

Whether any cell in the row can be selected.


tabbable?

optional tabbable: boolean

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

Whether any cell in the row participates in tab navigation.