Page tree
Skip to end of metadata
Go to start of metadata

Deselect the specified row.

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. If row is out of bounds, or if record is not selected, then the call does nothing.

Example:

var rrn = 7;
var grid = getObj("Grid1").grid;

grid.selectRow(rrn);

grid.isRowSelected(rrn); // returns true.
grid.getSelectedRows(); // returns [7].

grid.deselectRow(rrn);

grid.isRowSelected(rrn); // returns false.
grid.getSelectedRows(); // returns [].

This API method is available with Profound UI releases later than Version 6 Fix Pack 1.2.

  • No labels