Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

Content Freeze

As of July 25th, 2023, there is a content freeze on this page.

Returns an array containing the relative record numbers of all rows currently selected with the "row selection" feature.

Return Value:

  • an array numbers containing the RRNs of the rows that have been selected.  This will be the same RRN that was used when writing the row from your program.
  • or, an empty array if no rows are selected.

Example:

var myGrid = getObj("Grid1");
var myArray = myGrid.grid.getSelectedRows();

for (var i=0; i<myArray.length; i++) {

   var rrn = myArray[i];
   // row 'rrn' was selected. Get the "CUSTNO" field from that row.

   var custno = myGrid.grid.getDataValue(rrn, "CUSTNO");
   // do something with 'custno' here.

}
  • No labels