-
25 Oct 2010 10:26 AM #1
ext.data.store.filter [multiple filter options] i´ts not working
ext.data.store.filter [multiple filter options] i´ts not working
i used the configuration object, and the function parameters and they did nothing
grid.store.filter('prop','value') [works]
grid.store.filter([{property:'prop1',value:'some'},{property:'prop2',value:'other'}] [doesn´t]
i had to switch to
grid.store.filterBy( function )
as a work around.
-
25 Oct 2010 10:44 AM #2Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- The Netherlands
- Posts
- 24,251
- Vote Rating
- 44
1. Which Ext version are you using? Multiple filters is only supported on Ext 3.3.
2. This filter performs a condition1 AND condition2 (did you expect OR?).
-
27 Oct 2010 7:42 AM #3
1: i´m using 3.0.0
2: grid.store.filter('prop','value') makes a single condition, that´s why i neded something to make 2+
thanks for your reply, if not a bug, i´m glad i know why.
i´m aware the solution is to update my extjs
but that will require to validate the application itself and beyond that the custom extensions.
it´s there a way to check the release wich supports one particular (member/metod/class/you name it).
-
1 Jul 2011 12:00 AM #4
Multiple filter
Multiple filter
Condor please let me know how to do OR operation in multiple filter.
-
19 Aug 2011 10:59 AM #5
i wanna know how multiple filter with OR operatior
Wemerson Januario
Skype: wemerson.januario
Email: wemerson.januario@gmail.com
Fone: 62 84101145 - Goiânia-GO- Brazil
Consulting and Training Ext JS
Projects: (Nubes ERP)
-
21 Aug 2011 8:36 PM #6
I got that working by using multiple if else conditions. That is once when the condition is true for data one column check you will return true and therby display that record. If condition fails continue with next column check, there by u can get to check all the columns..
Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
Multiple store filters not working, array in filter neither.
By kevinv1990 in forum Sencha Touch 1.x: DiscussionReplies: 4Last Post: 19 Nov 2010, 10:35 AM -
Help with Store multiple filter
By nicosk in forum Ext 3.x: Help & DiscussionReplies: 3Last Post: 23 Jul 2010, 2:58 AM


Reply With Quote