static/ext/src/ux/grid/FilterBar.js
function(grid) {
		var me = this;

		grid.on({
			columnresize: me.resizeContainer,
			columnhide: me.resizeContainer,
			columnshow: me.resizeContainer,
			beforedestroy: me.unsetup,
			reconfigure: me.resetup,
			scope: me
		});

		grid.addEvents('filterupdated');

		Ext.apply(grid, {
	        filterBar: me,
	        getFilterBar: function() {
	        	return this.filterBar;
			}
		});

		me.setup(grid);
	}
function(grid) {
		var me = this;

		grid.on({
			columnresize: me.resizeContainer,
			columnhide: me.resizeContainer,
			columnshow: me.resizeContainer,
			beforedestroy: me.unsetup,
			reconfigure: me.resetup,
			scope: me
		});

		grid.addEvents('filterupdated');

		Ext.apply(grid, {
	        filterBar: me,
	        getFilterBar: function() {
	        	return this.filterBar;
			}
		});

		me.setup(grid);
	}
private