leptos_struct_table

Function TableContent

Source
pub fn TableContent<Row, DataP, Err, ClsP, ScrollEl, ScrollM>(
    props: TableContentProps<Row, DataP, Err, ClsP, ScrollEl, ScrollM>,
) -> impl IntoView
where Row: TableRow<ClassesProvider = ClsP> + Clone + Send + Sync + 'static, DataP: TableDataProvider<Row, Err> + 'static, Err: Debug, ClsP: TableClassesProvider + Send + Sync + Copy + 'static, ScrollEl: IntoElementMaybeSignal<Element, ScrollM>, ScrollM: ?Sized,
Expand description

Render the content of a table. This is the main component of this crate.

§Required Props

  • rows: [DataP]
    • The data to be rendered in this table. This must implement TableDataProvider or [PaginatedTableDataProvider].
  • scroll_container: [ScrollEl]
    • The container element which has scrolling capabilities.

§Optional Props