Package-level declarations
Types
Link copied to clipboard
Column width change request used by resizing logic.
Link copied to clipboard
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.
Link copied to clipboard
Row editing of one table: which row and column are being edited, and the consumer's edit callbacks.
Link copied to clipboard
Row and cell selection of one table: the focused row, the checked rows and the selected cell.
Link copied to clipboard
Mutable state holder for a table instance.
Functions
Link copied to clipboard
Link copied to clipboard
fun <C> rememberTableState(columns: ImmutableList<C>, initialSort: SortState<C>? = null, initialOrder: ImmutableList<C> = columns, initialWidths: ImmutableMap<C, Dp> = persistentMapOf(), settings: TableSettings = TableSettings(), dimensions: TableDimensions = TableDefaults.standardDimensions()): TableState<C>
Remember and create a TableState tied to the composition. Initial parameters are used only once; runtime mutations will not recreate the state.