ReadonlysizeAmount of data tables.
ReadonlytablesProvides access to an array representation of the tables.
Equivalent to Array.from(tableCollection).
A change to the array is not reflected in the collection.
Clears the selection. Note: A new table will be selected automatically, a tick later.
Emits event 'data-table-clicked'.
id of data table
Removes all table ids from the selection.
iterable of ids.
Destroy instance. Delegates destruction to all data tables.
Emits event 'data-table-focus-changed'.
id of data table
Provides access to the first selected data table, if one is available.
Provides access to the first selected data table, if one is available.
Provides access to all selected ids.
Provides a way to get all selected items.
Amount of selected items.
Test if data table with id is contained.
true = selected tables available. false = no tables selected.
a boolean indicating whether the given id is selected.
Registers event listener.
Adds all table ids to the selection.
iterable of ids.
Optionalselected: booleantrue = select, false = deselect. If omitted true is assumed.
Bag of data tables.
To access the items you can use for...of:
If you need an array use the
tablespropertyUse the
sizeproperty to check how many data tables are available.Use
getFirstSelectedTableto access the first selected data table (the one shown in the result-ui).You can watch the events
changed,selection-changedanddestroyed.