Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

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

Parameters:

  • 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.

Example:

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

if (Selected) {
   // row 14 was selected
}