This method will return true if a row has been selected using the "row selection" feature, or "false" if not.


  • row = the relative record number of the row to check.  This number should match the RRN used in your RPG program when the row was written.

Return Value:

  • Returns true if the row was selected, returns false otherwise.


var rrn = 14;
var Selected = getObj("Grid1").grid.isRowSelected(rrn);

if (Selected) {
   // row 14 was selected
  • No labels