Skip to main content

set_table_ordering

Function set_table_ordering 

Source
pub fn set_table_ordering<D: OrderedTableDelegate>(
    table: &mut TableState<D>,
    ordering: SortOrder,
    cx: &mut Context<'_, TableState<D>>,
) -> Result<(), SortError>
Expand description

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.