Skip to main content

data_table

Function data_table 

Source
pub fn data_table(
    id: &str,
    columns: &[(&str, &str)],
    rows: &[Vec<String>],
    sort: Option<(usize, bool)>,
) -> El
Expand description

A data table (G7): sticky header with per-column sort hits {id}:sort:{i} and row hits {id}:row:{i}. sort = (column, ascending) draws the arrow.