PDA

View Full Version : tooltip and panel



lucadelu
4 Apr 2011, 2:21 AM
Hi, I'm traying to use tooltip with panel but I can't show it.
Here an example


var sliderPanel = new Ext.Panel({
title: "Scala di trasparenza",
width: 290,
items: [{
title: 'Previsioni pollini',
items: [sliderGraphic]
}
});
var tipSlider = new Ext.ToolTip({
target: sliderPanel.getEl(),
title: 'Serve per la trasparenza dei layer',
});

You can see the entire web page at http://trec.fem-environment.eu/

regards
Luca

Grolubao
4 Apr 2011, 9:08 AM
Hi!
You'll find a lot of solutions:

http://www.sencha.com/forum/search.php?searchid=1510512

mankz
4 Apr 2011, 11:02 AM
SliderPanel is not rendered at the time you try to grab its element. Listen to its render event and then setup the tip.

lucadelu
5 Apr 2011, 2:28 PM
Hi!
You'll find a lot of solutions:

http://www.sencha.com/forum/search.php?searchid=1510512

The link is broken

thanks
Luca