executes code for each row in the grid
myGrid.forEachRow(function(id){ //your code here //id - row's id });