TableHead
fun RowScope.TableHead(modifier: Modifier = Modifier, weight: Float = 1.0f, align: TextAlign = TextAlign.Start, sortable: Boolean = false, sortDirection: KSortDirection = KSortDirection.None, onSort: () -> Unit? = null, content: @Composable RowScope.() -> Unit)(source)
Header cell — mirrors TableHead (<th>).
Parameters
weight
Flex weight of the column.
align
Text alignment override.
sortable
Whether to show a sort indicator icon.
sortDirection
Current sort direction when this column is sorted.
onSort
Called when the header is tapped (only when sortable).