View Full Version : How to update column header after filtering a store

23 Feb 2010, 3:09 AM
I have a grid with a store and I want to filter the grid on a particular column in response to some event. for example:

callback: function() {
myStore.filter('disabled', false);

This works fine as far as filtering the data correctly, but the column header does not show the filter icon, and the drop down on the column header shows as if it is not filtered.

I want the column header to show the same as if the user had filtered it by applying the filter on the column header. How would I update the column header to show the filter icon and show the "filter" checkbox as being ticked?