在Extjs商店中我们可以查询2列和2个值吗?

Ram*_*vel 7 extjs store

我正在使用extjs(3.6)商店.

因为我们可以用单列和值查询,我需要查询多列和多个值.

请建议extjs中的任何方法?

提前致谢,

Ramanavel Selvaraj

nsc*_*rob 16

您可以使用queryBy方法

store.queryBy(function(record,id){
     return (record.get('oneField') == someValue && record.get('secondField') == otherValue);
});
Run Code Online (Sandbox Code Playgroud)