IDataTableExpandProps
interface
Component Props
Props controlling row expansion in <OrigamDataTable> — whether rows expand on click, whether the expand column is shown, and the list of currently expanded row keys.
TypeScript
Definition
The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.
API
Properties
Every property declared by this interface, with its type, optionality and default.
- expandOnClickboolean
- Expand a row by clicking anywhere on it, not just the expand icon.
- showExpandboolean
- Show the expand toggle column in the header and each data row.
- expandedArray<string>
- Array of row keys that are currently expanded. Use with v-model:expanded.
Ecosystem
Used by
Components and composables that extend or consume this interface.
Usage
Examples
Ready-to-paste code snippets using this interface.
Expandable rows with v-model