PDA

View Full Version : Paging grid filter filters page instead of store



ipavlic
27 Mar 2012, 5:53 AM
When a filter is added to a paging grid, it only filters the displayed data.
I was expecting something like:

Use filter to download page data and total count from database (rows 1-10, total count)
Keep using filter to get next sets of data (rows 11-20, total count)

How can I get such behavior?

skirtle
27 Mar 2012, 6:09 AM
I think you're looking for remoteFilter:

http://docs.sencha.com/ext-js/4-0/#!/api/Ext.data.Store-cfg-remoteFilter