-
5 Jul 2012 8:12 AM #1
Unanswered: Multiple filters combined with OR
Unanswered: Multiple filters combined with OR
Hi all,
I want my filter to search (remotly) my table and so all columns for the provided string.
With the normal filter function I can only give it a columnName and the filterText.
The second filter is then combined with AND. I need an OR.
Is there any possibility to do this?
This would do AND.Code:store.filter([ {property:'geraete_bez',value:newVal}, {property:'nutzer_ort',value:newVal} ]);
Best regards,
Tobias
-
5 Jul 2012 9:07 AM #2
You can use the store's filterBy method and specify a function to filter the store by.
-
5 Jul 2012 11:06 AM #3


Reply With Quote