[英]Remove search option filters jqGrid
I'm trying to set few filters to search with this: 我正在尝试设置一些过滤器来搜索:
$.jgrid = {
search : {
caption: "Search...",
Find: "Find",
Reset: "Reset",
odata : ['equal', 'not equal'],
groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ],
matchText: " match",
rulesText: " rules"
}};
But I cannot get it to work. 但是我无法使其正常工作。 It is still listing all filters with an 'undefined' value on the option value.
它仍然列出所有在选项值上带有“未定义”值的过滤器。 Any ideas?.
有任何想法吗?。
尝试在带有相应colModel
使用searchoptions并定义sopt: ['eq','ne']
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.