views:

26

answers:

1

Hi

I would like to loop through a jqGrid so that I can get the value of cell for futher logical processing.

var ids = $("#list").getGridParam("reccount")
alert(ids);
var v = 1;
 for(var i = 0; i < ids ; i++){
    amountvalue = $("#list").getCell(v,"amount");           
    alert(amountvalue);
    v = v + 1;
}

Strangely as obvious as it seems I am not getting the values as expected. What am I missing?

A: 

http://stackoverflow.com/questions/1775524/how-to-get-a-jqgrid-cell-value

Aaron Saunders
Aaron.I went through that page before posting and I could find the solution am looking for.
davykiash