PF6 Table component
Tables organize and display data efficiently in rows and columns.
See: https://www.patternfly.org/components/table
A table column definition
Sort direction
Construct a Table
table
{ columns = [ nameCol, emailCol, statusCol ]
, rows = model.users
}Construct a column
column
{ key = "name"
, label = "Name"
, view = \row -> Element.text row.name
}Set a table caption
Enable sortable columns
Striped rows
Compact row height
Add borders between rows and columns
Set current sort state
Opaque Table type