PDA

View Full Version : Tooltip not displayed on 'tools' on tabpanel



jlimaye
6 Mar 2012, 3:00 AM
Here is sample code that i tried to run for tooltip. Im unable to see the tooltip here.


Ext.create('Ext.tab.Panel', {
width: 400,
height: 400,
renderTo: document.body,
items: [{
title: 'Foo'
}, {
title: 'Custom Title'
}],
tools:[{
type:'refresh',
tooltip: 'Refresh form Data',
// hidden:true,
handler: function(event, toolEl, panel){
// refresh logic
}
},
{
type:'help',
tooltip: 'Get Help',
handler: function(event, toolEl, panel){
// show help here
}
}]
});


What might be going wrong?

mitchellsimoens
6 Mar 2012, 9:44 AM
The tooltips are working for me in 4.0.7 and 4.1.0 beta3. You can try doing Ext.tip.QuickTipManager.init();

jlimaye
6 Mar 2012, 10:25 PM
thanks.. working now! :)