Returns next row or null if it is the last row.
nextRow(index, [colIndex], [numRows=1])
index integer, row index in records array
colIndex integer, optional, column index (it will skip the row is colspan for this recrod more then 1)
numRows integer, optional, number of rows to advance
Returns integer or null.


This method returns you next row in the grid taking into account applied local search. If there is no next row, it will return null.
The first argument index is the index in the .records array. The second optional argument colIndex is the index in the .columns array and if provided it might skip a row if corresponding cells have cellspan in a way that it results for that cell to be hidden.
If you have grid defined in the following way: You can do:

User Comments

comments powered by Disqus