Package-level declarations

Types

Link copied to clipboard
sealed class ColumnWidth
Link copied to clipboard
sealed class TableClickHandler<Item>
Link copied to clipboard
class TableFilterState(val isTextFilterActive: Boolean = false, val isColumnFilterActive: Boolean = false)
Link copied to clipboard
class TableSort(val columnIndex: Int, val type: TableSort.Type = Type.Asc)
Link copied to clipboard
class TableState<T>(val items: List<T>, val definition: TableDefinition<T>, val filter: MutableState<String>, val sorts: SnapshotStateList<TableSort>, val selectedRows: SnapshotStateList<Int>, val allRows: List<Row<T>>, val filteredRows: List<Row<T>>, val sortedRows: List<Row<T>>, val filterState: State<TableFilterState>)

Functions

Link copied to clipboard
fun <T> rememberTableState(items: List<T>, definition: TableDefinition<T>, sorts: SnapshotStateList<TableSort> = remember { mutableStateListOf() }, selectedRows: SnapshotStateList<Int> = remember { mutableStateListOf() }): TableState<T>