TabwebTableCard

@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.

Unlike standard cards, this composable omits the .card-body wrapper and places the responsive table directly inside the .card, matching Tabweb's card-table pattern. This avoids the extra padding gap that would appear if the table were placed inside a normal card body.

When pagination is provided a .card-footer is rendered below the table.

Parameters

title

headline shown in the .card-header

subtitle

optional secondary line shown below the title inside the card header

data

pure-data table configuration forwarded to TabwebTable

pagination

optional pagination state; omit to hide the footer entirely

onPageChange

optional callback invoked with the 1-based target page number when the user clicks a pagination link


@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.

Parameters

title

headline shown in the .card-header

subtitle

optional secondary line shown below the title inside the card header

columns

visible column headings

rows

row source to render; paginated sources also provide footer state

responsive

breakpoint at which horizontal scrolling starts

noWrap

prevents text wrapping in all cells when true

stickyHeader

makes the header row stick to the viewport top when scrolling


@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.