getRowNumber( rrn )
This method will return the row number for the given relative record number (RRN).
Parameters:
rrn= the relative record number (RRN). This number should match the RRN used in your RPG program when the record was written.
Return Value:
Returns the row number value corresponding to that RRN value.
Example:
var rrn = 17;
var row = getObj("Grid1").grid.getRowNumber(rrn);
// row = 3