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.
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.
- hideNoDataboolean
- Suppresses the empty-state row when there are no items to display.
- itemsArray<IDataTableItem | IDataTableGroup> | readonly (IDataTableItem | IDataTableGroup)[]
- Mixed array of resolved items and group nodes to render in the tbody.
- noDataTextstring
- Text shown in the empty-state row when items is empty and hideNoData is false.
- rowPropsTDataTableRow<any>
- Object or function returning extra props merged onto each <tr> element.
- cellPropsTDataTableCell<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