pub fn HyleTableBody(_: HyleTableBodyProps) -> ElementExpand description
Renders the <table> body from a HyleListState.
- Column headers are sortable (click to sort, click again to toggle direction).
- If
filtersis provided, each column header also renders aFilterFieldinline below the sort button. - Rows are clickable when
on_row_clickis supplied; the selected row is highlighted when its id matchesselected_id.
§Props
For details, see the props struct definition.
list:HyleListStatefilters:Option<HyleFiltersState>on_row_click:Option<Callback<hyle_dioxus::Row>>selected_id:Option<hyle_dioxus::Value>row_href:Option<Callback<hyle_dioxus::Row,String>>