so I have grid which I set some defaults on like so...
defaults: {
datatype: \"json\",
mtype: \"POST\",
autowidth: true,
height: \'100%\',
you have to add a extra option to your options called serializeGridData
see http://www.trirand.com/jqgridwiki/doku.php?id=wiki:events
so you should do something like this:
$('#grid').jqGrid({
url: 'url',
....
serializeGridData: function(postData) {
var newPostData = $.extend(postData, {
extraParam: 'EXTRA-PARAM-VALUE'
});
// newPostData now is (_search=false&nd=1324619663709&rows=100&page=1&sidx=&sord=asc&extraParam=EXTRA-PARAM-VALUE)
return $.param(newPostData);
}
});