Table
Table headers, cells, layout, sorting, and filtering contracts.
Table headers, cells, layout, sorting, and filtering contracts.
Public API
FTableHeaderFTableCellFTableLayoutFTableSortStateFTableFilterStateFTableHeaderControl
Example
VStack(spacing: 0) {
FTableHeader(
label: .string("Amount"),
control: .sorting(.ascending)
)
FTableCell(
value: .decimal(42.50, format: .twoDecimals),
label: .string("Subscription")
)
}
Source
This reference follows Sources/FreakUI/Components/DataDisplay/FTable.swift. Component-specific configuration is documented under the public initializer, modifier, and supporting types in that source file.