X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6a7e4474cba9d8be4b2ec445e10f1691f7277c50..0494b8d9b9bb03ab6c22b34dae81261e3cd7e3e6:/examples/ux/gridfilters/GridFilters.js?ds=sidebyside diff --git a/examples/ux/gridfilters/GridFilters.js b/examples/ux/gridfilters/GridFilters.js index 2685dbe8..901b0d1c 100644 --- a/examples/ux/gridfilters/GridFilters.js +++ b/examples/ux/gridfilters/GridFilters.js @@ -1,8 +1,8 @@ /*! - * Ext JS Library 3.2.0 - * 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'); @@ -255,6 +255,7 @@ Ext.ux.grid.GridFilters = Ext.extend(Ext.util.Observable, { this.reload(); } delete this.applyingState; + delete state.filters; }, /** @@ -571,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]; @@ -727,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']; }