PDA

View Full Version : extjs dataview tooltip



prajeesh_bs
9 Aug 2011, 4:33 AM
I am using a dataview to display few images. For each image i need to show a tooltip. The tooltip should contain html and an image. tooltip content will be different for different dataview elements. How this can be done? Any sample code?

basememara
30 Nov 2011, 12:45 PM
Check this thread out:
http://www.sencha.com/forum/showthread.php?144976-Tooltip-help-for-dataview


Just add into a tpl a code like this:
<span data-qtip="{name} bla bla">{name}</span>
now this span will have a extjs tooltip