Upgrade to ExtJS 3.3.1 - Released 11/30/2010
[extjs.git] / examples / ux / gridfilters / GridFilters.js
index 8ef11d8..901b0d1 100644 (file)
@@ -1,8 +1,8 @@
 /*!
- * Ext JS Library 3.2.1
- * Copyright(c) 2006-2010 Ext JS, Inc.
- * licensing@extjs.com
- * http://www.extjs.com/license
+ * Ext JS Library 3.3.1
+ * Copyright(c) 2006-2010 Sencha Inc.
+ * licensing@sencha.com
+ * http://www.sencha.com/license
  */
 Ext.namespace('Ext.ux.grid');
 
@@ -572,7 +572,7 @@ TODO: lazy rendering
                         // filter type is specified in order of preference:
                         //     filter type specified in config
                         //     type specified in store's field's type config
-                        filter.type = filter.type || this.store.fields.get(dI).type;
+                        filter.type = filter.type || this.store.fields.get(dI).type.type;
                     }
                 } else {
                     filter = filters[i];
@@ -728,6 +728,9 @@ filters[0][data][value]="someValue3"&
             case 'float':
               type = 'numeric';
               break;
+            case 'bool':
+              type = 'boolean';
+              break;
         }
         return Ext.ux.grid.filter[type.substr(0, 1).toUpperCase() + type.substr(1) + 'Filter'];
     }