Hi,
I needed some “configuration” for sending only my get/post vars to server without predefined variables: _search, nd, rows, page… with using JSON loadonce feature….
…and I found this solution:
grid.base.js
line 865: add
data2JSON : {},
line cca 1606: edit to
data: (ts.p.data2JSON) ? (ts.p.data2JSON) : ($.isFunction(ts.p.serializeGridData)? ts.p.serializeGridData.call(ts,ts.p.postData) : ts.p.postData),
this little update prevent sending predefined datas to server and send only my specific datas – same as $.ajax data method.
In my jqgrid works absolutely perfect, so i hope it help others.
😉
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top