pub fn DefaultTableHeaderCellRenderer<F>(
props: DefaultTableHeaderCellRendererProps<F>,
) -> impl IntoViewwhere
F: Fn(TableHeadEvent) + 'static,Expand description
The default table header renderer. Renders roughly
<th>
<span>Title</span>
</th>ยงRequired Props
- class:
impl Into<Signal<String>>- The class attribute for the head element. Generated by the classes provider.
- inner_class:
impl Into<String>- The class attribute for the inner element. Generated by the classes provider.
- index:
usize- The index of the column. Starts at 0 for the first column. The order of the columns is the same as the order of the fields in the struct.
- sort_priority:
impl Into<Signal<Option<usize>>>- The sort priority of the column.
Noneif the column is not sorted.0means the column is the primary sort column.
- The sort priority of the column.
- sort_direction:
impl Into<Signal<ColumnSort>>- The sort direction of the column. See
ColumnSort.
- The sort direction of the column. See
- on_click: [
F]- The event handler for the click event. Has to be called with
TableHeadEvent.
- The event handler for the click event. Has to be called with
- children:
Children