I am using jqGrid and my grid definition is as follows:
... colNames:['Type','Date','Message','User Name','Host'], colModel:[{name:'type',index:'type', width:100}, {name:'date',index:'date', sorttype:'date', formatter:'date', formatoptions: {newformat:'dM-Y'}, width:100}, {name:'log',index:'log', width:200}, {name:'username',index:'username', width:50}, {name:'host',index:'host', width:50}], ...
When I debug my data, one of the date values (this number) looks like this:
1322550786997
The grid shows it like this:
29-Nov-2011
Everything is fine up to this point. However, when I want to sort my date column, it does not change anything.
Any ideas?
source share