get changed rows values in grid


I would like to fetch all the column values of the changed rows.

I am able to get the changed rows using getChangedRows() function, but I am unable to get the column values of changed rows.

Please give me the solution, how to get the values of changed rows?



to get value of any cell you can use


var ids = grid.getChangedRows().split(",")
for (var i=0; i<ids; i++)
     for (var j=0; j<grid.getColumnsNum(); j++)
         alert( grid.cells(ids[i],j).getValue());