¡@

Home 

2014/10/16 ¤W¤È 12:02:25

jquery Programming Glossary: cellsbyid

jqgrid - json looping issue

http://stackoverflow.com/questions/8508389/jqgrid-json-looping-issue

. It should solve your problem. The idea of the solution is To save the cells property of the input data in the object cellsById so that one can get the cells by the rowid with respect of cellsById rowid . To use custom formatter to format the contain.. cells property of the input data in the object cellsById so that one can get the cells by the rowid with respect of cellsById rowid . To use custom formatter to format the contain of the 'linkimg' column based on the cells property. We will get cells.. get cells from the rawObject parameter of the custom formatter as rawObject.cells or we will get the same data from cellsById . We get the rowid of the current formatted row from the options parameter as options.rowId . The most important code fragments..