IDataTableItem

interface
Data Table

Internal representation of a single data-table row — extends IInternalItem, IDataTableGroupableItem, and IDataTableSelectableItem with a unique key, row index, and a pre-computed column values map.

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.

key
required
any
Unique key derived from itemValue; used to track selection and expansion state.
index
required
number
Zero-based position of the item in the current (possibly filtered/sorted) dataset.
columns
required
{ [key: string]: any }
Pre-resolved cell values keyed by column key.

Ecosystem

Used by

Components and composables that extend or consume this interface.

Usage

Examples

Ready-to-paste code snippets using this interface.

Reading internal item values in a custom cell slot

html