Hi everyone - I am looking for a client-side filtering functionality for the grid - exactly like on http://www.vonloesch.de/node/23 - text box which filters rows dynamically when typed into.
Is that possible and can someone please give detailed example (newbie :oops: )?
Beyond that, you'll want to look into the built-in filter() methds of the Store class. It's not documented so you'll need to crack open /source/data/Store.js and do some detective work yourself.
Jeff Howden
Ext JS - Support Team Volunteer jeff@extjs.com
Any and all code samples that are authored by me and posted on the Ext forums or website are hereby released into the public domain and I release anyone or entity of liability by using said code samples unless explicitly stated otherwise.
Opinions are mine and not necessarily endorsed by Ext, LLC. Please do not contact me directly for assistance unless requested by me.
This works perfectly if you are working with server side paging and filtering. Although, I am using client side paging and would like to also use client side filtering. Is there an easy way to change the code you posted so it will handle client side filtering of the grid with my drop down combo boxes that I have located in the paging footer?
I haven't really looked at the code, but I would think it would be simple to change that handler (e.g. combo select or filter btn) to call store.filter() rather than triggering a store.load with the filter expression.
Maybe my quicksearch example is what your looking for.
It filters the current page (or the entire store) of a grid, while your typing in the box. (It would be trivial to only filter on <enter>) From what i've read in the original post this the example that you want.