PDA

View Full Version : Extjs4 display tooltip for disabled button



jeewiya
8 Jan 2012, 10:02 PM
hi,
when i disable the button it's tooltip also disables. Is there a way to show the tooltip even the button is disabled



//create my button
var myButton = Ext.create('Ext.Button', {
tooltip : 'my Button Tooltip Text',
id : 'my-button ',
iconCls : 'star-icon',
handler: Ext.Function.pass(_rmp.mediaManager.myButtonFunction, this)
});

//disable my button
Ext.getCmp('my-button').disable();

mitchellsimoens
9 Jan 2012, 7:50 AM
Please post into the appropriate forum. I have moved this to the Ext JS 4 Q&A forum for you.

freshyseth
9 Mar 2012, 8:55 AM
Bump!

commanche
23 Aug 2012, 3:42 AM
It seems to be a Firefox related problem. In Chrome the tooltip works even when the button is disabled.
Tested on:
- Firefox 14 - not working
- Chrome 21 - working