PDA

View Full Version : Using QuickTip onClick and not onHover



dmanchikalapudi
31 May 2010, 8:52 AM
I have a QuickTip defined for my grid


QuickTip qt = new QuickTip(myGridInstance)

within one of my cell renderers, I have


<a qtip="some text I want to display when a user clicks this link" />

Currently, I see the qtip on hover and click ... I need the qtip to display only on click... how can I do this ?

sven
31 May 2010, 9:59 AM
A QuickTip only works onmouseover. You will need some custom implementation of QuickTip.

However i would not use QuickTip in this case. Use Tip and show it manually. Add a click listener to the grid and show the tip when needed.