Package-level declarations

Tabler tables, table cards, structured cell models, composable table DSLs, and client-side pagination support.

See Tabler Table.

Types

Link copied to clipboard

Client-side paginated TabwebTableRows view over a complete row list.

Link copied to clipboard

Static TabwebTableRows implementation that renders the provided rows as-is.

Link copied to clipboard

Tabweb table component for laying out rows and columns of data.

Link copied to clipboard

Receiver scope for building table body rows.

Link copied to clipboard

Provides page-level composable entry points for the table concept.

Link copied to clipboard
data object TableCss

CSS class constants for Tabweb tables.

Link copied to clipboard

Receiver scope for building table footer rows.

Link copied to clipboard

Receiver scope for building a table header.

Link copied to clipboard

Breakpoint at which a table enables horizontal scrolling.

Link copied to clipboard

Receiver scope for building cells inside a table row.

Link copied to clipboard

Tabweb semantic background variants for table rows.

Link copied to clipboard

Receiver scope for building a Tabweb table.

Link copied to clipboard
data class TabwebPaginationData(val currentPage: Int, val totalPages: Int, val pageSize: Int? = null, val totalItems: Int? = null, val texts: TabwebPaginationTexts = TabwebPaginationTexts(), val window: TabwebPaginationWindow = TabwebPaginationWindow())

Presentational pagination state for a Tabweb table card.

Link copied to clipboard
data class TabwebPaginationTexts(val previousPageLabel: String = "", val nextPageLabel: String = "", val ellipsisLabel: String = "..", val summaryTemplate: String = "Showing {index} of {max} entries")

Display text used by a table pagination footer.

Link copied to clipboard
data class TabwebPaginationWindow(val maxVisiblePageNumbers: Int? = null, val siblingCount: Int = 1, val boundaryCount: Int = 1)

Controls which numbered page links are visible in large pagination footers.

Link copied to clipboard
sealed interface TabwebTableCell

Sealed content model for a single Tabweb table cell.

Link copied to clipboard
data class TabwebTableColumn(val label: String, val noWrap: Boolean = false)

A visible column heading.

Link copied to clipboard
data class TabwebTableData(val columns: List<TabwebTableColumn>, val rows: List<TabwebTableRow>, val responsive: TableResponsive = TableResponsive.ALWAYS, val noWrap: Boolean = false, val stickyHeader: Boolean = false, val expectedDisplayRows: Int? = null)

Pure configuration for a Tabweb table.

Link copied to clipboard

Backward compatibility alias for TableResponsive.

Link copied to clipboard
data class TabwebTableRow(val cells: List<TabwebTableCell>, val variant: TableRowVariant? = null)

One table row, optionally styled with a Tabweb semantic variant.

Link copied to clipboard
interface TabwebTableRows

Row source for data-driven Tabweb tables.

Link copied to clipboard

Backward compatibility alias for TableRowVariant.

Functions

Link copied to clipboard

Wraps a plain row list as static TabwebTableRows.

Link copied to clipboard
@Composable
fun rememberPaginatedTableRows(rows: List<TabwebTableRow>, pageSize: Int, initialPage: Int = 1, texts: TabwebPaginationTexts = TabwebPaginationTexts(), window: TabwebPaginationWindow = TabwebPaginationWindow()): TabwebTableRows

Remembers a paginated view of table rows.

Link copied to clipboard
@Composable
fun TabwebTable(data: TabwebTableData, modifier: Modifier = Modifier)

Renders a data-driven Tabweb table with responsive, no-wrap, and sticky-header options.

@Composable
fun TabwebTable(responsive: TableResponsive = TableResponsive.ALWAYS, noWrap: Boolean = false, stickyHeader: Boolean = false, modifier: Modifier = Modifier, block: @Composable TableScope.() -> Unit)

Composable DSL overload of TabwebTable that accepts arbitrary composable cell content.

Link copied to clipboard
@Composable
fun TabwebTableCard(title: String, subtitle: String? = null, data: TabwebTableData, pagination: TabwebPaginationData? = null, onPageChange: (Int) -> Unit? = null, modifier: Modifier = Modifier)

Renders a Tabweb card that displays a data table flush against the card edges.

@Composable
fun TabwebTableCard(title: String, subtitle: String? = null, responsive: TableResponsive = TableResponsive.ALWAYS, noWrap: Boolean = false, stickyHeader: Boolean = false, modifier: Modifier = Modifier, block: @Composable TableScope.() -> Unit)

Renders a table card using the composable DSL for the table content.

@Composable
fun TabwebTableCard(title: String, subtitle: String? = null, columns: List<TabwebTableColumn>, rows: TabwebTableRows, responsive: TableResponsive = TableResponsive.ALWAYS, noWrap: Boolean = false, stickyHeader: Boolean = false, modifier: Modifier = Modifier)

Renders a table card from a row source that may own table behaviour such as pagination.