Skip to main content

normalize_tree_table_selection

Function normalize_tree_table_selection 

Source
pub fn normalize_tree_table_selection(
    rows: &[TreeTableRow],
    selected: &HashSet<SharedString>,
) -> (HashSet<SharedString>, HashSet<SharedString>)
Expand description

Normalizes tri-state parent selection: a parent becomes selected iff all its children are.