0
这是情景我有一个JQGrid请求一个服务的完整数据列表,我已经使用了复杂的搜索,它的工作非常好,这个属性loadonce:true;Jqgrid复杂搜索
gridview: true,
rownumbers: true,
rownumWidth: 20,
scroll: 0,
rowNum: 10,
rowList: [10, 50, 100, 1000],
sortname: 'ID',
pager: '#pager',
sortorder: "asc",
viewrecords: true,
autowidth: true,
width: '100%',
height: '100%',
scrollOffset: 0,
loadonce: false,
ignoreCase: true,
如果我禁用loadonce为false那么复杂的搜索将无法正常工作,我真的想如何搜索已已加载的现有记录的东西,可以说我有1000列装;我需要在内部过滤它们而不向服务器发送数据,有什么想法?
搜索
{
multipleSearch: true,
multipleGroup: false,
showQuery: false,
odata: ['contains', 'equal', 'not equal', 'less', 'less or equal', 'greater', 'greater or equal', 'begins with', 'does not begin with', 'is in', 'is not in', 'ends with', 'does not end with', 'does not contain'],
groupOps: [{ op: "AND", text: "all" }, { op: "OR", text: "any"}],
matchText: " Find",
rulesText: " matches",
sopt: ['cn', 'bw', 'eq', 'ne', 'lt', 'le', 'gt', 'ge', 'ew']
});
感谢