parseFixedColumns
DataTable
stable
Walk a flat-or-nested `IInternalDataTableHeader` tree and apply sticky-column metadata in-place: mark the last fixed leaf as `lastFixed`, propagate `fixed` from parents to children, and emit a console error when multiple fixed columns lack a static width.
API
Signature
Signature TypeScript complète, extraite du fichier util.
API
Paramètres
Paramètres d'entrée acceptés par cet util.
- itemsrequisArray<IInternalDataTableHeader>
- Flat array of resolved data-table headers (may contain nested `children`). Mutated in-place to set `fixed`, `lastFixed`, and emit width warnings.
API
Valeur de retour
La valeur retournée par cet util.
- Returns nothing — the input array is mutated directly.
Usage
Exemples
Extraits de code prêts à coller.
Mark the last fixed column