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.
TooManyFunctions is suppressed because this is the single holder for column layout operations (order, widths, pinning, visibility); splitting it would scatter one concept.
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.
Columns hidden at runtime, e.g. from the column menu. A column renders when its spec is visible and its key is not in this set; showAll never reveals a column the spec hides.
Column keys in render order.
Number of pinned columns on the ua.wwind.table.config.TableSettings.pinnedColumnsSide edge: pinnedStartCount or pinnedEndCount.
Number of trailing visible columns pinned at the end edge. Starts at ua.wwind.table.config.TableSettings.pinnedEndCount; pin and unpin change it at runtime. When this and pinnedStartCount together cover every visible column, none is pinned.
Number of leading visible columns pinned at the start edge. Starts at ua.wwind.table.config.TableSettings.pinnedStartCount; pin and unpin change it at runtime. When this and pinnedEndCount together cover every visible column, none is pinned.
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.
The pinned block column sits in, or null when it is hidden or scrolls.
Recalculate auto-widths for columns with autoWidth enabled.
Resolves the effective width for a column given its key and optional spec.