useColumnSizingVars
useColumnSizingVars: generated from the source of active-grid.
Exported by @workspace/. Generated from the package source; part of the index of every export.
Functions, hooks and constants#
Computes CSS variable values from engine column sizing state. Applied as inline styles on the outer grid div.
When flex layout is enabled, use overrides these values on the body/header scroll containers via direct DOM writes (style.setProperty). The CSS cascade ensures child element styles always win — this hook serves as the initial/fallback values for the first render before useFlexLayout's useLayoutEffect fires. See use-flex-layout.ts for the full rationale.
<TData>(publicGrid: Grid<TData>) => Record<string, number | string>