PDA

View Full Version : Filtering Ext.data.JsonStore



Michael J.
11 Mar 2011, 7:29 AM
I have grid with Ext.data.JsonStore and with pagination plugin.
If I want to filter store records I call


store.filter('columnName','regexp')

but it filters only current displayed page.
And if I had 20 records displayed after filtering I see 10, but there is some records on the next page,
is there way to force store load some filtered records from server so the number on current page always stay constant?

steffenk
11 Mar 2011, 8:18 AM
send the parameter for filter and do the filtering on server side


store.load({filter: myColumnFilterSetting})