如何修改默认的jqGrid url参数? [英] How to amend the default jqGrid url parameters?
本文介绍了如何修改默认的jqGrid url参数?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
jqGrid将此附加到我的网址:
jqGrid append this to my url:
?_search=false&nd=1384254700817&rows=20&page=1&sidx=&sord=asc
如何禁用该功能并且不将其后缀添加到我的URL?
How to disable that and not suffixing it to my URL?
推荐答案
You can use prmNames to rename or to remove parameters which jqGrid sends to the server. For example you can use
prmNames: { search: null, nd: null, rows: null, page: null, sort: null, order: null }
删除URL的?_search=false&nd=1384254700817&rows=20&page=1&sidx=&sord=asc
部分.
或者,您可以使用postData: ""
删除所有参数.
Alternatively you can use postData: ""
to remove all parameters.
这篇关于如何修改默认的jqGrid url参数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文