if(forceAll){
this.store.clearFilter();
}else{
- this.store.filter( this.displayField, q, this.anyMatch);
+ this.store.filter(this.filterField || this.displayField, q, this.anyMatch);
}
this.onLoad();
}else{
* @param {Boolean} anyMatch True to match any part not just the beginning
*/
filter : function(property, value, anyMatch){
- Roo.log(typeof(property));
+
+ if(typeof(property) == 'string'){
+ var fn = this.createFilterFn(property, value, anyMatch);
+ return fn ? this.filterBy(fn) : this.clearFilter();
+ }
+ Roo.each(property, function(p){
+
+
+ });
var fn = this.createFilterFn(property, value, anyMatch);
return fn ? this.filterBy(fn) : this.clearFilter();
+
},
/**