PDA

View Full Version : How to add events to checkbox using config



pamya4u
20 Jun 2007, 2:40 AM
Hello all,

I want to add the events to checkbox from config.
I have tried like this.

config.listeners={'beforerender':this.beforeRender,
'blur':this.lostfocus,
'focus':this.withfocus,
'specialkey':this.handleSpKey,
scope:this};
this.textbox = new Ext.form.TextField(config);
this.textbox.applyTo(htmlctrl);

Please help me out for the same

thanks and regards
Pramod