Get Column value

Hi,



I have a requirement such that i need to get the entire column values without any event happening(Such as on click or select).

In my case iam moving the rows up and down.Hence i need to change the row id automatically in sequential order.Based on this new order i want to retrieve the entire values of the first column.Please tell me how to do this.







With regards,

Udaya.R



You can use code similar to next
    var values=[];
    for (var i=0; i<mygrid.getRowsNum(); i++)
       values.push(mygrid.cells2(i,0).getValue());

The code will loop through all rows in grid, in same order  as rows rendered, get values of cell in first column, and store them in values array.


Thank you…Its working