X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/ee06f37b0f6f6d94cd05a6ffae556660f7c4a2bc..c930e9176a5a85509c5b0230e2bff5c22a591432:/examples/grid-filtering/grid/filter/BooleanFilter.js diff --git a/examples/grid-filtering/grid/filter/BooleanFilter.js b/examples/grid-filtering/grid/filter/BooleanFilter.js deleted file mode 100644 index c61ae8ad..00000000 --- a/examples/grid-filtering/grid/filter/BooleanFilter.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Ext JS Library 2.2.1 - * Copyright(c) 2006-2009, Ext JS, LLC. - * licensing@extjs.com - * - * http://extjs.com/license - */ - -Ext.grid.filter.BooleanFilter = Ext.extend(Ext.grid.filter.Filter, { - /** - * @cfg {Boolean} defaultValue - * The default value of this filter (defaults to false) - */ - defaultValue: false, - /** - * @cfg {String} yesText - * The text displayed for the "Yes" checkbox - */ - yesText: 'Yes', - /** - * @cfg {String} noText - * The text displayed for the "No" checkbox - */ - noText: 'No', - - init: function(){ - var gId = Ext.id(); - this.options = [ - new Ext.menu.CheckItem({text: this.yesText, group: gId, checked: this.defaultValue === true}), - new Ext.menu.CheckItem({text: this.noText, group: gId, checked: this.defaultValue === false}) - ]; - - this.menu.add(this.options[0], this.options[1]); - - for(var i=0; i