PDA

View Full Version : move listener not working in Ext.form.Toggle



babar.sajjad
17 Feb 2011, 4:45 AM
This is how i create my toggle control


var toggle = new Ext.form.Toggle({
labelWidth: '34.5%',
//cls: 'rounded bordAll blank-bg',
style: {
width: 'auto'
},
listeners:{
move :function(){
alert('a')
}
}
})

and than call this toggle in a panel, move listener is now working any idea where i am doing wrong :(