PDA

View Full Version : button toggle doesn't work



Nertus
7 Feb 2011, 12:54 PM
function toggler(item, pressed) {
console.log('toggle pressed');
}
var txtBtn = new Ext.Button({
id:'toggler',
text:'TXT',
enableToggle: true,
toggleHandler: toggler
});