Skip to main content

Module header

Module header 

Source
Expand description

Header-level UI state: sort indicator, column reordering, and memoised index computation.

This module is intentionally decoupled from the renderer backends so that both egui and iced can share the same state types.

Structs§

HeaderSortState
UI sort state tracked per column-header click.
TableIndex
Memoised sort-and-filter index to avoid recomputing expensive permutations on every frame.

Functions§

handle_row_click
Handle a row-click event, delegating to the appropriate SelectionModel method.
move_column
Apply a column move: move the column at index from in order to position to. Other columns shift to fill the gap.