Package-level declarations
Types
Declarative specification of a table column.
Builder for a single editable ColumnSpec. Extends ReadonlyColumnBuilder with editing capabilities.
DSL builder for a list of editable ColumnSpec.
Builder for a single readonly ColumnSpec.
Type alias for readonly table columns (without table data)
DSL builder for a list of readonly ColumnSpec.
Scope for a row block's header band. Distinct from TableCellScope (not a supertype of it) so a Modifier.draggableHandle call here binds unambiguously to the whole-block (outer unit) engine, while the same call inside a cell binds to whatever engine that row is rendered under.
Row blocks: runs of adjacent rows that render and drag as one unit, declared by identity rather than by position — the library derives block extents from the same snapshot it renders, so they cannot go stale against an asynchronously filtered list. The consumer's data stays untouched during a gesture; the move arrives as one event at drop.
The result of one completed within-block drag gesture: a single row moved among its block-mates, expressed in stable keys. Anchors are the moved row's visible neighbours inside the same block; a null anchor means the block's edge (first/last visible row).
Scope available inside table body cell content.
Receiver of the table's emptyContent slot, shown in the body while the table has no rows.
Colors of each kind of filter chip. Chips are always selected, so the selected* colors are the ones shown.
A column's chip content, drawn inside the library's chip in the row and in the popover.
What a column's condition chip knows, passed to ColumnSpec.activeFilterChip, in the active filters row and in a group's popover.
Defaults for TableFilterChipStyle.
What a chip of the active filters row or of a group's popover shows: one node of the filter tree, passed to TableFilterChipStyle.chip and DefaultFilterChip.
Where a filter chip is drawn.
How the table draws its filter chips, in the active filters row and in a group's popover.
Scope available for a rendered table item.
Functions
Applies move to the SOURCE list — the lift from the rendered, possibly filtered view back to the consumer's source of truth.
Lifts a RowWithinBlockMove to the SOURCE list: relocates the single moved row among its block-mates, using RowWithinBlockMove.afterKey as the primary anchor and beforeKey as the fallback. Block members hidden by the current filter keep their relative order; the moved row lands immediately adjacent to the resolved visible anchor. The list is left untouched when the moved row is gone, its block id no longer matches, or neither anchor resolves.
The active filters row's default chip: an InputChip with TableFilterChipContext.label whose click opens the filter panel and whose × resets the filter. A column's ColumnSpec.activeFilterChip can call it to change one part of the chip and keep the rest.
The library's filter chip: an InputChip whose click opens the condition's panel or the group's popover and whose × removes the node. A TableFilterChipStyle.chip can call it to change one part of a chip and keep the rest.
fun Modifier.draggableHandle(enabled: Boolean = true, interactionSource: MutableInteractionSource? = null, onDragStarted: (startedPosition: Offset) -> Unit = {}, onDragStopped: () -> Unit = {}, dragGestureDetector: DragGestureDetector = DragGestureDetector.Press): Modifier
Makes this modifier the drag handle for the whole block, from its header band. The node must be a descendant of the block's ReorderableItem.
fun Modifier.draggableHandle(enabled: Boolean = true, interactionSource: MutableInteractionSource? = null, onDragStarted: (startedPosition: Offset) -> Unit = {}, onDragStopped: () -> Unit = {}, dragGestureDetector: DragGestureDetector = DragGestureDetector.Press): Modifier
Makes this modifier act as a drag handle for the current table item from cell content.
Composable editable data table that renders a header and a virtualized list of rows.
DSL entry to declare editable table columns.
Filters at block granularity: a block survives in full when ANY member matches, so the rendered blocks never show partially. The plain row-level filter stays first-class — hidden members simply travel with their block on a drag — this helper exists for consumers who want match-whole-block semantics instead.
fun Modifier.longPressDraggableHandle(enabled: Boolean = true, interactionSource: MutableInteractionSource? = null, onDragStarted: (startedPosition: Offset) -> Unit = {}, onDragStopped: () -> Unit = {}): Modifier
Makes this modifier act as a long-press drag handle for the current table item from cell content.
Sorts rows within each block while keeping every block whole — a plain sortedBy fragments blocks into duplicate bands. Each unit — a block or a standalone row — takes its position from its minimal member under comparator, so the list still reads as sorted at unit granularity. The sort is stable both within a block and between units: ties keep their existing order, and re-applying the same sort changes nothing.
Composable read-only data table that renders a header and a virtualized list of rows.
Composable data table with custom table data state.
Renders a compact header row with one chip per top-level node of the filter tree. Without table data the chips cannot open filter panels; their × removes the filter. Groups cannot be opened, so an unresolved condition inside a group goes away only with its group or with "Clear all".
Renders a compact header row with one chip per top-level node of the filter tree. Clicking a condition's chip opens that column's filter panel under the chip; its × resets the filter. A group's × removes the whole group.
DSL entry to declare readonly table columns with custom table data type.