pub fn DefaultTableHeaderCellRenderer<F, Column>(
props: DefaultTableHeaderCellRendererProps<F, Column>,
) -> impl IntoViewExpand 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: [
Column]- The index of the column. Information on column indexes is available at: the Column index type section.
- 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
- drag_state:
DragStateRwSignal<Column>- Drag state
- drag_handler:
HeadDragHandler<Column>- Drag handlers
- columns:
RwSignal<Vec<Column>>- The visible ordered columns of the table.
- children:
Children