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§
- Header
Sort State - UI sort state tracked per column-header click.
- Table
Index - 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
SelectionModelmethod. - move_
column - Apply a column move: move the column at index
frominorderto positionto. Other columns shift to fill the gap.