Skip to main content

table

Function table 

Source
pub fn table(
    id: &str,
    head: &[&str],
    columns: &str,
    num: &[usize],
    rows: &[Vec<String>],
    selected: Option<usize>,
) -> El
Expand description

A table: a header row and data rows on one CSS grid track list (columns, e.g. "1fr 80px"); num columns align right. Rows are hits {id}:row:{i}, .sel for selected.