TableColumnsState
Column layout of one table: the order columns render in, the width overrides that apply to them, and the measurements the auto-fit works from.
Reached as TableState.columns. Every member here has a deprecated forwarder on TableState itself, kept for one release so existing call sites compile with a warning that names the replacement; the forwarders go away in the next major.
Properties
Whether automatic width fitting has been applied for the first data batch render.
Whether automatic width fitting has been applied for the empty (header-only) state.
Tracks the maximum measured minimal content width per column across visible rows. Used to auto-fit columns on demand.
Tracks header widths separately. These are preserved during auto-width recalculation and used as base values after reset.
Column keys in render order.
Width overrides per column. A missing key falls back to the spec width, then the default.
Functions
Set the column width override to the tracked maximum minimal content width (if available). No-op if no measured width is present for the column.
Recalculate auto-widths for columns with autoWidth enabled.
Resolves the effective width for a column given its key and optional spec.