Readonly
columnsColumns of the table.
Readonly
datasetThe dataset associated with the table.
Filter state.
Readonly
loadLoad error if state === "load-error".
Sort state.
Readonly
stateState of the table.
Readonly
totalTotal number of items of the last query.
Provides access to the data to display conversion code. It converts a DatasetItem into a Row. A row has column values, which are prepared to be displayed in table UI. The column values are field data transformed by Formatters. This method allows data conversion for dataset items currently not displayed in the table. E.g. for CSV Export.
the item to transform
Optional
formatterOptionsOverrides: FormatterOptionsOptions how to format the output. Can be used to override formatting of columns. For example used to control the formatting of numeric values when exported as csv.
Registers event listener.
Represents the state of table UI. It grants access to the formatted table data.
You can watch the properties
columns
,filterBy
,sortBy
,total
,state
andloadError
for changes.You can watch for the events
selection-changed
,focus-changed
,rows-changed
anddestroyed
.