Skip to main content

header_cell

Function header_cell 

Source
pub fn header_cell(theme: &Theme, column: &Column, sorted: Option<bool>) -> Div
Expand description

One heading. sorted carries the direction when this is the sorted column, and None when it is not.

Returns a plain Div like the rest of this crate: a table that does not sort simply never adds the .id/.on_click that would make it.