In extjs GridFilters, is there a way to clear the filters without reloading the store?
This is the rquirement:
There is a grid(#1) and another grid(#2) below the gri
After some Firebug stepping, I found this works quite well.
var store = this.getStore();
store.remoteFilter = false;
store.clearFilter();
store.remoteFilter = true;
store.filter(...);
remoteFilter
does not seem to be a documented property, but it will suspend xhr calls while it's set to false
.
When you set remoteFilter
to false, when clearFilter()
is called, the load()
function is stepped over.