View Full Version : Grid filter change listener

23 Jan 2013, 1:16 PM
I have a grid panel with multiple columns and filtering is enabled on each column. I need to update a display field value every time the grid data is filtered using any column filters. I see that there is a 'sortchange' gridpanel event that is triggered when the sorting changes. Is there a similar method for filtering. If not, what is the best way to accomplish this.

24 Jan 2013, 9:32 AM
You could check the datachanged event on the store:

listeners: {
datachanged: function(store,records){
console.log('datachanged/count: '+store.count())