IDataTableRowsProps

interface
Component Props

Props contract for the internal <OrigamDataTableRows> body renderer — receives the full list of items/groups, empty-state text and per-row/cell prop factories.

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.

hideNoData
boolean
Suppresses the empty-state row when there are no items to display.
items
Array<IDataTableItem | IDataTableGroup> | readonly (IDataTableItem | IDataTableGroup)[]
Mixed array of resolved items and group nodes to render in the tbody.
noDataText
string
Text shown in the empty-state row when items is empty and hideNoData is false.
rowProps
TDataTableRow<any>
Object or function returning extra props merged onto each <tr> element.
cellProps
TDataTableCell<any>
Object or function returning extra props merged onto each <td> element.

Ecosystem

Used by

Components and composables that extend or consume this interface.

Usage

Examples

Ready-to-paste code snippets using this interface.

Custom no-data text

vue