Hi, I want to be able to read all the contents in the cells – by means of looping.
I am able to get the total columns and total row of records in the grid.
I can do so using $('#gridmain').jqGrid('getCell', rowid, column no);
but the row id is not a serial number, it is an id pulled from a table.
I know that if a row is selected I can use: jQuery(“#gridmain”).jqGrid('getGridParam','selrow');
But what if a row is not selected and I want the rowid of the 3rd or 5th row of the grid?
Is there a method or function to get the rowid of the nth row so that i can apply $('#gridmain').jqGrid('getCell', rowid, column no); to get the content of the cell?
Thanks.
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top