Hello,
If I understand right your JSON data looks like this
“some_dt”: '1223140084550'
and you expect that the grid will format it in some date format.
Remember jqGrid is more server oriented and task like this should be done server side in most cases.
jqGrid does not have cellrendering features. (It uses already formated)
This is not trivial task
1. We need to known the source format and
2. We need to set our desired format.
Instead of this you can format data your own way – just use afterInsertRow event and setCell method – something like this
afterInsertRow: function(rowid, cellrow) {
jQuery(“#mygrid”).setCell(rowid,'some_dt',myformater(cellrow.some_dt));
}
…
function myformater(src)
{
//perform here your formt
return new_formated_value
}
Also refer to example pages for ths
Best Regards
Tony