PDA

View Full Version : Reg. tooltip for ext.button



After2050
15 Oct 2010, 3:55 AM
Hi,

I can't able to set tooltip for ext.button. What i'm missing below?

Menu.lefthand = function() {
return new Ext.Panel({
id: 'leftmenu',
items: [
/*Menu - Create New Page*/
new Ext.Button({ iconCls: 'create-page-button',
width: 85, height: 80,
border: false, cls: 'menu-button',
tooltip: 'Create New Page',
listeners: {
'click': function() {
commChannel.createNewPage();
}
}
})
]
});
};

Animal
15 Oct 2010, 4:38 AM
Ext.QuickTips.init();

After2050
15 Oct 2010, 4:50 AM
Thanks a lot!!!!