You can perform operations on a
Table using the JavaScript API's tables
interface.
For example:
- Getting and Setting the current row:
tables.myTable.currentRow;
.
- Getting and Setting column values:
tables.myTable.myColumn.value = 3;
.
- Iterating over rows in the Table:
tables.myTable.getRows();
- Loading the Table from its backing Resource, for example a Database Resource:
tables.myTable.fetchTable();
.
- Updating the Table's Resource with new data:
tables.myTable.updateTable();
.