IDataTableGroupableItem

interface
Data Display

Minimal discriminated-union marker for a data row node in a grouped DataTable tree. Carries a type="item" literal to distinguish row nodes from IDataTableGroup group nodes.

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.

type
requis
'item'
Discriminant literal — always "item". Distinguishes data row nodes from group nodes (type: "group") in the mixed tree.
raw
requis
T
The original data object for this row.

Écosystème

Utilisé par

Composants et composables qui étendent ou consomment cette interface.

Usage

Exemples

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

Type-narrowing in a custom cell renderer

typescript