TableState
Mutable state holder for a table instance.
Three clusters of that state live in holders of their own, reached through this one: columns (order, widths, auto-fit measurements), selection (focused row, checked rows, selected cell) and editing (edited row and column, edit callbacks). What shapes the data — sort, groupBy, filters — stays here, because it is what a table is asked for most and it belongs to the table as a whole rather than to one of the three.
The members those holders took over remain here as deprecated forwarders for one release, each naming its replacement, so existing call sites keep compiling; they are removed in the next major.
Properties
Column order, width overrides and the measurements auto-fit works from.
Edited row and column, and the consumer's edit callbacks.
True while a non-null rowBlocks declaration is being ignored because groupBy is active. The two features describe incompatible structures over the same rows, so the library suppresses blocks instead of rendering both; this flag exists so consumers can surface that conflict in their own UI rather than have blocks vanish unexplained.
Tracks measured row heights in raw pixels for dynamic, precise scrolling.
Focused row, checked rows and the selected cell.
Current table width computed from visible columns and their widths. Automatically recalculates when column order, widths, or visibleColumns change.
Functions
Record measured row height (in px) for index.