pub fn Table(props: TableProps) -> impl IntoViewExpand description
A data table with multi-column sort (shift-click for additive sort),
text filter, column resize and show/hide, sticky header, pagination, inline
cell edit, and optional row virtualization. rows is a reactive signal of
row data; on_row_click, on_cell_edit, and selected_row wire up
selection and editing.
§Required Props
- headers:
Vec<String> - rows:
impl Into<Signal<Vec<Vec<String>>>>
§Optional Props
- sortable:
bool - filterable:
bool - resizable:
bool - virtualized:
bool - columns_toggle:
bool - page_size:
usize - row_height:
f64 - overscan:
usize - height:
f64 - on_row_click:
Callback<usize> - on_cell_edit:
Callback<(usize, usize, String)> - selected_row:
impl Into<Signal<Option<usize>>>