View Full Version : How to remove button tooltip?

13 May 2014, 10:33 PM
Below one is my code which has tooltip.. If at certain point I want to remove the tooltip, how to remove it dynamically?
Nothing should be shown on hover of button

Ext.create('Ext.Button', {
text: 'Click me',
tooltip: 'Tool tip Ex',
renderTo: Ext.getBody(),
handler: function() {
alert('You clicked the button!');


13 May 2014, 11:03 PM
Try to call setTooltip('') (http://docs.sencha.com/extjs/4.2.2/#!/api/Ext.button.Button-method-setTooltip)