Function: computeFlexWidths()
computeFlexWidths<
TRow>(__namedParameters):Record<string,number>
Defined in: src/model/compute-flex-widths.ts:22
Computes pixel widths for flex columns. Returns a map keyed by column id,
containing only the flex columns (callers merge this into columnSizing).
Algorithm: subtract all non-flex / user-fixed widths from containerWidth,
then split the remainder across flex columns by their flex ratio, clamped
to [minWidth, maxWidth]. If the remainder is non-positive (fixed columns
already overflow), flex columns collapse to minWidth.
Type Parameters
TRow
TRow
Parameters
__namedParameters
FlexInput<TRow>
Returns
Record<string, number>