18 Dec 2012 4:17 AM #1
Unanswered: Tooltip on element in panel
I have a panel with items as follows:
<snipped for brevity>
html: 'hello world',
My question is what should I set the target to so that the tooltip shows up when I hover over the image. I tried adding an id for the image element and using "target: Ext.getCmp('imageid')" but that didn't work.
20 Dec 2012 7:08 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
A tooltip should not be a child item. You should create it and use the show() method.Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.