Could i get a list of all the row ids, but in the exact same


I click on a column header, and the grid rows are rearranged by that column

How could i get a list of all the row ids as they are now. (Now as they are in the xml )

You can use onBeforeSorting event handler. For example:

var ids = [];

grid.attachEvent(“onBeforeSorting”,function(ind){

    for (var i=0; i<grid.getRowsCount(); i++){


       ids[ids.length] = grid.getRowId(i);


    }
   
    return true

})