brixxbox Wiki
Ask or search…
Comment on page


Checks if a row in a grid is selected or not.


  1. 1.
    controlId - The id of the grid
  2. 2.
    line - This can be either a whole line from a "myGrid.allRows" call or a single id from a record.

Example Usages

let result = brixxApi.isRowSelected("myGrid", myLine)
Used in a loop
let allRows = app.getFieldValue("myGrid.allRows");
for(let i = 0; i < allRows.length; i++){
if(brixxApi.isRowSelected("myGrid", allRows[i])){
console.log("This is selected: " +;
Used with an id
let result = brixxApi.isRowSelected("myGrid", 123); //Checks if the line with the id 123 is selected.