Package-level declarations

Types

Link copied to clipboard
sealed interface ColumnWidth

Per-column width policy used by TableGrid.

Link copied to clipboard
typealias Renderable = Any?

The value produced by a column / header / footer template.

Link copied to clipboard

Builder scope for one TableGrid row.

Link copied to clipboard

Builder scope for TableGrid: collects rows of cells.

Functions

Link copied to clipboard
fun flexRender(comp: Renderable, props: Any?): Any?

Resolves a column / header / footer template to its rendered value.

Link copied to clipboard

Creates a Table from options and bridges its state into the composition so the table is reactive.

Link copied to clipboard
fun TableCellText(value: Any?, bold: Boolean = false)

Renders a flexRender result as plain text. Convenience wrapper around BasicText that tolerates null and exposes a bold variant for headers.

Link copied to clipboard
fun TableGrid(modifier: Modifier = Modifier, columnWidth: (column: Int) -> ColumnWidth = { ColumnWidth.Auto }, gridLineColor: Color = DefaultGridLineColor, cellPadding: Dp = 8.dp, content: TableGridScope.() -> Unit)

A bordered grid for rendering a headless table.