I am using extjs(3.6) store.
In that we can query with single column and a value, I need to query with multiple columns and multiple values.
Please suggest any methods available in extjs?
Thanks in advance,
Ramanavel Selvaraj
You can use queryBy method
store.queryBy(function(record,id){
return (record.get('oneField') == someValue && record.get('secondField') == otherValue);
});
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With