Expand description
Column descriptor + supporting enums for TableView and TreeTableView.
Columns are declared once per table; the table consumes a Vec<Column<T>>
and shares it with its body subtree. The cell delegate is Rc-erased so a
Column<T> is cheap to clone for any internal pane that needs its own
copy.
Structs§
- Cell
Context - Per-cell context handed to a column’s cell delegate during build.
- Column
- Single column declaration. Column ids must be stable, unique strings — they’re the persistence key for sort, filter, width, and ordering.
- Column
Context - Per-column-header context handed to a column’s header delegate.
- Edit
Triggers - Which gestures open a cell editor — a set, composed with
|, after Qt’sQAbstractItemView::EditTriggers.
Enums§
- Alignment
- Horizontal alignment of a cell’s content within its column.
- Column
Resize Policy - Whether column resize commits the new width on every drag tick (
Live) or only onEnded(OnRelease). - Column
Width - How a column’s width is determined during layout.
- Grid
Lines - Whether the table draws grid lines between rows / columns.
- Pinned
Side - Whether a column is pinned to one side of the table.
- TabTraversal
- Tab / Shift-Tab traversal policy across cells of a row.
- Truncation
Policy - Strategy when a cell’s text overflows its column.