need help on mygrid.forEachRow

Hi,

need some help for the following.

mygrid.forEachRow
this looping sequence for the above function is based on the grid onload sequence.

if i click on the header, the row sequence will change.

how do i get the row sequence as appear on the screen?

Regards,
Angie

You may try to use the following iterator:

<script> for (var i=0; i<grid.getRowsNum(); i++){ // here i - index of the row in the grid do_something_with_row(index); } </script>

thanks a million! it works great. :slight_smile: