static/ext/src/ux/grid/GridHeaderFilters.js
function(fo,clear)
    {
        this.filters = fo;
        
        if(this.filters && this.filterFields)
        {
            //Delete filters that doesn't match with any field
            for(var fn in this.filters)
            {
                if(!this.filterFields[fn])
                    delete this.filters[fn];
            }
            
            for(var fn in this.filterFields)
            {
                var field = this.filterFields[fn];
                var value = this.filters[field.filterName];
                if(Ext.isEmpty(value))
                {
                    if(clear)
                        this.setFieldValue(field, '');
                }
                else
                    this.setFieldValue(field, value);
            }
        }
    }
function(fo,clear)
    {
        this.filters = fo;
        
        if(this.filters && this.filterFields)
        {
            //Delete filters that doesn't match with any field
            for(var fn in this.filters)
            {
                if(!this.filterFields[fn])
                    delete this.filters[fn];
            }
            
            for(var fn in this.filterFields)
            {
                var field = this.filterFields[fn];
                var value = this.filters[field.filterName];
                if(Ext.isEmpty(value))
                {
                    if(clear)
                        this.setFieldValue(field, '');
                }
                else
                    this.setFieldValue(field, value);
            }
        }
    }
Sets filter values by values specified into fo.
@param {Object} fo Object with attributes filterName = value
@param {Boolean} clear If current values must be cleared. Default = false