Controls that will be rendered above the table.
When true
, a row can be selected by clicking on it.
When false
, a row can only be selected using
the selection column.
Default: true
.
Describes the columns to be displayed. An element of this array can be a property name (which will render a column displaying that property; the column will have the default look&feel) or a ColumnDefinition object (which allows creating a custom column).
NOTE: you need to use either columnDefinitions or fields (deprecated)
for the DataTable
to work.
Names of columns that should have filters enabled. Default: filters will be enabled on all columns. Pass empty array to disable all filters.
By default, when any number of filters is active, a Clear filters
control will be displayed above the
table. When clicked, this control disables all filters at once.
If hideClearFilters
is true
, then the Clear filters
control won't be displayed.
Default: false
When true
, hides the selection column.
Default: false
.
A callback that takes the ids of the selected rows. Can be used together with buttons to facilitate CRUD operations or other functionality.
single
allows to select one row at a time.
multi
allows to select multiple rows.
none
disables row selection.
Default: single
.
Can be used to override any of the underlying Table properties.
Generated using TypeDoc
entity type.