IDataTableItemSlot

interface
Component Props

Slot scope injected into every row-level slot of <OrigamDataTable> — exposes the raw item, its index, resolved columns, and the expand/select helpers.

TypeScript

Definition

The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

Inheritance

Extends

Parent interfaces this one inherits from. Their properties are available on every consumer of this interface.

API

Properties

Every property declared by this interface, with its type, optionality and default.

columns
required
IInternalDataTableHeader[]
Array of resolved header descriptors for this row — use them to iterate over cells in the correct column order.
props
required
any
Merged props to spread onto the row root element (contains class, style, data-* attributes generated by rowProps).

Ecosystem

Used by

Components and composables that extend or consume this interface.

Usage

Examples

Ready-to-paste code snippets using this interface.

Custom row slot using IDataTableItemSlot

vue