pub fn DefaultTableCellRenderer<T, F>(
    props: DefaultTableCellRendererProps<T, F>
) -> impl IntoView
where T: IntoView + Clone + 'static, F: Fn(T) + 'static,
Expand description

The default cell renderer. Uses the <td> element.

§Required Props

  • class: String
    • The class attribute for the cell element. Generated by the classes provider.
  • value: impl Into<MaybeSignal<T>>
    • The value to display.
  • on_change: [F]
    • Event handler called when the cell is changed. In this default renderer this will never happen.
  • index: usize
    • The index of the column. Starts at 0.