PDA

View Full Version : Urgent Help : Ext.isDefined is not a function



rxbass
18 Oct 2012, 10:56 PM
I'm using checkboxCombo extension in ext js 3 for multiselection http://code.google.com/p/extuxcheckboxcombo/downloads/detail?name=Ext.ux.form.CheckboxCombo.zip&can=2&q=

I'm getting the following error : Ext.isDefined is not a function


onRender: function(ct, position){
if (this.hiddenName && !Ext.isDefined(this.submitValue)){
this.submitValue = false;
}
Ext.ux.form.CheckboxCombo.superclass.onRender.call(this, ct, position);
if (this.hiddenName){
this.hiddenField = this.el.insertSibling({tag:'input', type:'hidden', name: this.hiddenName, id: (this.hiddenId||this.hiddenName)}, 'before', true);
}
if (Ext.isGecko){
this.el.dom.setAttribute('autocomplete', 'off');
}
if (!this.lazyInit){
this.initList();
} else {
this.on('focus', this.initList, this, {single: true});
}
},



Please help at the earliest.
Thanks

mitchellsimoens
23 Oct 2012, 6:28 AM
Are you using Ext JS 3 or Ext JS 4 with this extension?