Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

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.

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