UltraWebGrid had a very convenient getNextRow() client-side function which returns next row in row collection. WebDataGrid does not have an analog, but it’s pretty easy to recreate the functionality:
function getNextRow(i_oRow) {
var iRowIndex = i_oRow.get_index();
var aRows = i_oRow.get_grid().get_rows();
return aRows.get_row(iRowIndex + 1)
}
This function accept grid row as a parameter, gets the row’s index and return row with incremented index from grid row’s collection.
