ReadonlycolumnsColumns of the table.
ReadonlydatasetThe dataset associated with the table.
Filter state.
ReadonlyloadLoad error if state === "load-error".
Sort state.
ReadonlystateState of the table.
ReadonlytotalTotal 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
OptionalformatterOptionsOverrides: 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,stateandloadErrorfor changes.You can watch for the events
selection-changed,focus-changed,rows-changedanddestroyed.