deselectRow( row )

Deselect the specified row.


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


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.