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

This grid method can be used to check if a row has been filtered out of a grid. 

Example:  Place a "1" in the "OPT" field of all rows of the grid that have not been filtered out.

var myGrid = getObj("Grid1");
for (var r=1; r<=myGrid.grid.getRecordCount(); r++) {
   if (!myGrid.grid.isRowFilteredOut(r)) {
      myGrid.grid.setDataValue(r, "OPT", "1");
   }
}
  • No labels