IDataTableColumnProps
interface
Component Props
Props for a single column cell in <OrigamDataTable> — alignment, sticky offset, nowrap, plus dimension and padding from the shared Commons interfaces.
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.
Héritage
Hérite de
Interfaces parentes dont celle-ci hérite. Leurs propriétés sont disponibles pour tout consommateur de cette interface.
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.
- alignALIGN.START | ALIGN.END | ALIGN.CENTER
- Horizontal alignment of the cell content — start, end, or center.
- fixedboolean
- Pins the column to the left side of the table when the user scrolls horizontally.
- fixedOffsetnumber | string
- Left offset (px or CSS length) used to stack multiple fixed columns side by side.
- lastFixedboolean
- Marks this as the last fixed column, triggering a box-shadow divider on its right edge.
- nowrapboolean
- Prevents text wrapping inside the cell.
Écosystème
Utilisé par
Composants et composables qui étendent ou consomment cette interface.
Usage
Exemples
Extraits de code prêts à coller utilisant cette interface.
Fixed left column with center alignment