Skip to main content

table

Function table 

Source
pub fn table<'a>(
    id: impl Into<WidgetId>,
    rect: Rect,
    columns: &'a [&'a str],
    rows: &'a [Vec<String>],
) -> TableBuilder<'a>
Expand description

A table of rows under columns in rect. Parts are "{id}:col:{j}" (header cells, a click reports column) and "{id}:row:{i}" (rows, a click reports index). Rows outside rect after .scroll are skipped.