Skip to main content

Module ordering

Module ordering 

Source
Expand description

Ordering application and selection snapshots for generated table delegates.

Structs§

ResolvedTableColumn
Presentation for an executable resolved key, rendered from the current typed row. The caller keeps formatting separate from the comparison extractor.
TableRowSelection
Capture before changing rows or ordering, then restore by stable row identity. Generated delegates need an explicit row_id when source positions change. Column positions are retained, not column keys. Use set_table_resolved_columns to follow column keys during replacement.

Traits§

OrderedTableDelegate
Ordering of the delegate’s loaded rows. Backend ordering remains caller-owned.
ResolvedOrderedTableDelegate
A source-owned executable resolved-column context for the delegate’s typed rows.
ResolvedTableDelegate
Controlled presentation columns attached to the same resolved-key context.

Functions§

set_table_ordering
Apply controlled ordering while keeping row/cell selection on the same record. This sorts loaded rows only; send the same order to a backend for complete-result ordering.
set_table_resolved_columns
Refresh presentation while retaining the selected record’s stable identity.
set_table_resolved_sort_columns
Replace the resolved comparison context while retaining selection by stable identity.