Upgrade to ExtJS 4.0.7 - Released 10/19/2011
[extjs.git] / examples / ux / grid / filter / Filter.js
index d9ed58b..41afd20 100644 (file)
@@ -82,7 +82,8 @@ Ext.define('Ext.ux.grid.filter.Filter', {
         );
         Ext.ux.grid.filter.Filter.superclass.constructor.call(this);
 
-        this.menu = this.createMenu(config);
+        // setting filtered to true on all filter instances ensures that the filter won't be blurred when the mouse leaves the component
+        this.menu = this.createMenu(Ext.applyIf({filtered: true}, config));
         this.init(config);
         if(config && config.value){
             this.setValue(config.value);