Thanks it was exactly what I needed.
There is also a much easier way, you can use custom formatter, it is well documented in the wiki.
Hi,
you can use the setRowdata method in the following way:
Add this to jqgrid initialization:
gridComplete:function() {
cellHtml = 'any html you want';
$(“#tableid”).jqGrid('setRowData',rowid,{columnname:cellHtml});
}
goodluck.
Stay connected with us in your favorite flavor!
Copyright 2014 TriRand LtdAll Rights ReservedRSS