pub fn selected_index(m: &Model, rows: &[Row]) -> Option<usize>
The index of the selected node in rows; the first one if the selection is gone.
rows