post # 161
http://www.sencha.com/forum/showthre...598#post543598
Printable View
Hi, do you use it with local:false(default), as remote filtering?
Do you reload the datastore on filter changes? autoReload: true(default)
When both, than you have first to save all IDs (IdProperty in your Store) of the selected rows. After filtering you reselect the filtered Ids manually.
Take a look in GridFilters.js to bindStore: to understand how the extension binds the grid store, then you can try to select and reselect the rows on your store events 'beforeload' and 'load'
Its just an advice, try it to find out, if it works :)
Hi,
someone have a idea/solution to save and restore GridFilters settings ?
Thanks
I've a problem... how to setup a numeric filter via script?
With .setActive(true) and .setValue(somevalue); I can set a filter for list filters but how to do it with a numeric filter (I want setup myfilter = somevalue).
Hi!
I have a problem, not sure if this is where I'm supposed to post.
In the menu to filter numeric value (with gt, lt and eq), icons (=, >, <) are overlapping eachother and doubled.
Does anybody know what's the problem?
Thanks!
I have autoReload set to true and an event placed on the beforedestroy method of the panel which contains my grid in order to clear the filters. In firebug, after closing that panel I get an error message stating that store is null which indicates that, after closing the panel, my filter tries to do a store reload for some reasons.
This returns:PHP Code:ordersPanel.on("beforedestroy", function() {
Ext.getCmp('ordersGrid').filters.clearFilters ();
return true;
});
Any ideas how to fix this?Code:store is null: GridFilters.js line 503
Maybe it have something to do with a list filter, the plugin destroy the filter store onDestroy. I've a override that use the store autoDestroy flag to prevent this.
Code:Ext.override(Ext.ux.menu.ListMenu, { destroy: function() { if (this.store && this.store.autoDestroy) { this.store.destroy(); } Ext.ux.menu.ListMenu.superclass.destroy.call(this); }});
Not sure how useful anybody else will find it, but I did a custom modification to the DateFilter to give it the ability to search for null dates. Details are here:
http://www.sencha.com/forum/showthre...795#post560795
Hi...
A strange problem :
I have a problem with Firefox and Linux distribution when trying to type a string filter containing the character % :
It's like if I did nothing: the% character is not displayed in the text box, and no filter is applied.
Has anyone had this problem and knows the solution ?
I am developing an application that uses metadata-driven grids with gridfilters in a tabpanel.
Tabs are created dynamically via links.
Basically not sooo difficult :)
But unfortunately, the application can not handle gridfilters for more than one grid in a time.
Gridfilters are removed every time a new grid in a new tab is created and only the active tab got the gridfilter functionality.
Any ideas??
Attachment 25405