View Full Version : Use of tooltips

14 Dec 2011, 2:18 AM
Hello !

I wonder if it's possible to render a extjs panel into a tooltip, and not just html text ?

Thank you :)

14 Dec 2011, 4:09 AM
It should be possible because ToolTip inherited Panel. Then it must be possible to use the items property

Ext.create('Ext.tip.ToolTip', {
// The overall target element.
target: el,

trackMouse: true,
items: [puthereyourpanel], <--- put a panel in there and try it out
renderTo: Ext.getBody(),
listeners: {

beforeshow: function updateTipBody(tip) {


14 Dec 2011, 6:20 AM
Thank for your help, it works fine !