isRowSelected
Checks if a row in a grid is selected or not.
Parameters
Example Usages
let result = app.isRowSelected("myGrid", myLine);Used in a loop
let allRows = app.getFieldValue("myGrid.allRows");
for (let row of allRows) {
if (app.isRowSelected("myGrid", row)) {
console.log("This is selected: " + row.id);
}
}Used with an id
let result = app.isRowSelected("myGrid", 123); //Checks if the line with the id 123 is selected.Return Values
Last updated