07-23-2021, 06:21 PM
(This post was last modified: 07-23-2021, 06:21 PM by remkonoteboom.)
There are a lot of methods in spt.table which can help you with these:
To get all the cell of a row:
This function does exactly what you are describing above. And then getting the value would be as you have:
You can get a row by:
If you want all the cells for a given element:
Hope that helps.
To get all the cell of a row:
Code:
let cell = spt.table.get_cell(element_name, row);
This function does exactly what you are describing above. And then getting the value would be as you have:
Code:
let value spt.table.getAttribute("spt_input_value");
You can get a row by:
Code:
let row = spt.table.get_row(cell);
If you want all the cells for a given element:
Code:
let cells = spt.table.get_cells(element_name);
Hope that helps.