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

Définition

La définition TypeScript de l'interface telle que trouvée dans le code source d'origam. Cliquez sur l'icône de copie pour copier l'extrait.

typescript

API

Propriétés

Chaque propriété déclarée par cette interface, avec son type, son caractère optionnel et sa valeur par défaut.

expandOnClick
boolean
Expand a row by clicking anywhere on it, not just the expand icon.
showExpand
boolean
Show the expand toggle column in the header and each data row.
expanded
Array<string>
Array of row keys that are currently expanded. Use with v-model:expanded.

Écosystème

Utilisé par

Composants et composables qui étendent ou consomment cette interface.

Usage

Exemples

Extraits de code prêts à coller utilisant cette interface.

Expandable rows with v-model

vue