Skip to main content

view_order

Function view_order 

Source
pub fn view_order(
    data: &TableData,
    sort: Option<(usize, bool)>,
    only: Option<(usize, &str)>,
) -> Option<Vec<usize>>
Expand description

The rows a view shows, in order: sorted by sort ((column, ascending), as sort_order), keeping only those whose text column only.0 reads only.1 (the toolbar’s filter). None when neither is asked: every row, in table order.