Gets the row count of the first table. tables[0], useful for single table case
The number of rows in the first table or undefined if no tables exist.
Gets the selected row location if only one row is selected. Row loc of rowsSel[0], useful for single selection case
The selected row location or undefined if multiple or no rows are selected.
Gets the reference to the selected row if only one row is selected. Row reference of rowsSel[0], useful for single selection case
The selected row or undefined if multiple or no rows are selected.
Gets the first table from the core tables. tables[0], useful for single table case
The first table or undefined if no tables exist.
Gets the total number of tables in the dataset.
The number of tables.
Gets the selected table index if only one table is selected. table tid of tablesSel[0], useful for single selection case
The selected table index or undefined if multiple or no tables are selected.
Gets the reference to the selected table if only one table is selected. table reference of tablesSel[0], useful for single selection case
The selected table or an empty array if multiple or no tables are selected.
Gets the selected table indices.
An array of selected table indices.
Handles row selection on mouse click with support for multi-selection modes. Only intended for frontend usage.
An object indicating whether the selection was successful.
Handles table selection on mouse click with support for multi-selection modes. Only intended for frontend usage.
The table reference or index.
The mouse event triggering the selection.
Optional
sort: "reverse" | "forward"The sorting direction.
An object indicating whether the selection was successful.
Deselects all selected tables and rows.
Deselects all selected rows.
Deselects all selected tables.
Find table if a table exists at the given index(tid).
The index of the table.
An object indicating whether the table exists and its reference if found.
Find table if a given table reference exists in the core tables.
The reference to the table.
An object indicating whether the table reference exists and its index if found.
Checks if a table or row (by index or location) is selected.
The table index or row location.
True if the table or row is selected, otherwise false.
Checks if a row at the given location is selected.
The row location.
True if the row is selected, otherwise false.
Checks if a row reference is selected.
The row reference.
True if the row is selected, otherwise false.
Checks if a table with the given index is selected.
The table index.
True if the table is selected, otherwise false.
Checks if a table reference is selected.
The table reference.
True if the table is selected, otherwise false.
Checks if all given row locations are valid.
The array of row locations.
True if all row locations are valid, otherwise false.
Checks if all given table IDs are valid.
The array of table IDs.
True if all table IDs are valid, otherwise false.
Manipulates rows based on selection and placement rules.
Modifies rows or creates new tables based on placement rules.
Optional
target: {Sorts the selected rows based on table and row indices in the specified direction.
Optional
direction: "reverse" | "forward"The sorting direction, defaults to "forward".
Sorts the selected table indices in the specified direction.
Optional
direction: "reverse" | "forward"The sorting direction, defaults to "forward".
Converts table references to their corresponding table indices.
An array of table references.
An object indicating whether all tables were found and their corresponding indices.
A generic dataset manager.