I\'m using jqGrid
to display some data to users. I want this grid to be sortable, but the data jqGrid sends isn\'t exactly what I need.
Here is the query st
There are serializeGridData event/parameter of jqGrid which can help you solve any problems of customization of the server requests. In your case the serializeGridData could looks as following
serializeGridData: function (postData) {
var myPostData = $.extend({}, postData); // make a copy of the input parameter
myPostData.sidx = "'" + myPostData.sidx + "'";
myPostData.sord = "'" + myPostData.sord + "'";
return myPostData;
}