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
Full TypeScript signature sourced from the util file.
API
Parameters
Input parameters accepted by this util.
- itemsrequiredArray<IInternalDataTableHeader>
- Flat array of resolved data-table headers (may contain nested `children`). Mutated in-place to set `fixed`, `lastFixed`, and emit width warnings.
API
Return value
The value returned by this util.
- Returns nothing — the input array is mutated directly.
Usage
Examples
Ready-to-paste usage snippets.
Mark the last fixed column