API reference: @salmonui/data-grid/engine
resolveColumnWidthfunction
import { resolveColumnWidth } from '@salmonui/data-grid/engine';function resolveColumnWidth(width: ColumnWidthSpec, containerWidth?: number): number | null;
Resolves a column width to pixels. Percent widths need the container width.
Returns null for auto (measured by the renderer) or when a percent width
has no container width yet.