Skip to main content

heading

Function heading 

Source
pub fn heading(column: &Column<'_>, style: &TableStyle) -> String
Expand description

The heading, with the caret if the table is ordered by this column.

A column sorted but not sortable still gets its caret. Both combinations mean something, which is why the description holds the two fields apart: a list ordered by a key the user cannot change is a real thing, and the caret is how it says so.