ColumnSpec
Declarative specification of a table column.
Contains header/cell content, sizing, alignment, sorting and filtering capabilities.
Parameters
unique column key
composable content for the header cell; receives table state data
composable content for each row cell
function that extracts the comparable value of this column from T; used for grouping and other logic
optional plain-text title for use in places like active filter chips
whether the column participates in sorting
whether user can resize the column
whether column is currently visible
preferred width override; null uses table defaults
minimal width when resizable
whether to auto-fit width to measured content after first render
optional cap for auto-fitted width
alignment for cell content; the header follows it unless headerAlignment is set
optional minimal row height when table uses dynamic row height
optional maximal row height when table uses dynamic row height
optional filter type provided by this column
optional custom renderer for the group header
whether to render built-in sort/filter icons in the header cell
whether clicking the entire header cell toggles sorting
optional composable content for the footer cell; receives table state data
deprecated: optional chip for this column's conditions in the active filters row and in a group's popover; null draws the table's chip
optional content of this column's condition chips, drawn inside the table's chip in the active filters row and in a group's popover
Constructors
Properties
Optional chip for this column's conditions; null draws the table's chip.
Optional callback to check if editing can start for a specific item. Returns true to allow, false to deny.
Optional content of this column's condition chips, drawn inside the table's chip.
Optional alignment for header content; null follows alignment.
Whether a click on the whole header cell should toggle sort when sortable.
Whether to render default header decorations (sort/filter icons) provided by the table.
Whether body and footer cells render digits with tabular (fixed-width) figures.