data Table
This component factory generates a data table.
It provides the following main functions:
automatic scrolling enabled by default including a fixed header, so this line always remains visible
sorting facility including easily defining specific type based sorting for each column separately (lexicographic sorting is the default, thus String based
default styling via fritz2's dev.fritz2.styling.theme.Theme infrastructure
variety of custom styling for header and cells, row based or column based
styling based upon the index and current stateful information like the sorting or selection state.
custom content for header and column cells including access to current row data
different modes for selecting rows (checkbox and click based) and separation between single or multiple selection
See also
Parameters
a lambda expression for declaring the styling as fritz2's styling DSL
the required store holding the data rows that should be rendered by the table
an appropriate id provider for the specific row type `T` (typically some sort of Id property)
optional CSS class that should be applied to the element
the ID of the element
the prefix for the generated CSS class resulting in the form $prefix-$hash
a lambda expression for setting up the component itself. Details in DataTableComponent
This component factory generates a data table.
It provides the following main functions:
automatic scrolling enabled by default including a fixed header, so this line always remains visible
sorting facility including easily defining specific type based sorting for each column separately (lexicographic sorting is the default, thus String based
default styling via fritz2's dev.fritz2.styling.theme.Theme infrastructure
variety of custom styling for header and cells, row based or column based
styling based upon the index and current stateful information like the sorting or selection state.
custom content for header and column cells including access to current row data
different modes for selecting rows (checkbox and click based) and separation between single or multiple selection
See also
Parameters
a lambda expression for declaring the styling as fritz2's styling DSL
the required store holding the data rows that should be rendered by the table
an appropriate id provider for the specific row type `T` (typically some sort of Id property)
a store that holds arbitrary rows that get selected
optional CSS class that should be applied to the element
the ID of the element
the prefix for the generated CSS class resulting in the form $prefix-$hash
a lambda expression for setting up the component itself. Details in DataTableComponent
This component factory generates a data table.
It provides the following main functions:
automatic scrolling enabled by default including a fixed header, so this line always remains visible
sorting facility including easily defining specific type based sorting for each column separately (lexicographic sorting is the default, thus String based
default styling via fritz2's dev.fritz2.styling.theme.Theme infrastructure
variety of custom styling for header and cells, row based or column based
styling based upon the index and current stateful information like the sorting or selection state.
custom content for header and column cells including access to current row data
different modes for selecting rows (checkbox and click based) and separation between single or multiple selection
See also
Parameters
a lambda expression for declaring the styling as fritz2's styling DSL
the required store holding the data rows that should be rendered by the table
an appropriate id provider for the specific row type `T` (typically some sort of Id property)
a store that holds at most one row that gets selected
optional CSS class that should be applied to the element
the ID of the element
the prefix for the generated CSS class resulting in the form $prefix-$hash
a lambda expression for setting up the component itself. Details in DataTableComponent