View Full Version : assigning Dialog instead of QuickTip to a grid

2 Jun 2010, 12:09 PM
Currently, I have a QuickTip object and a grid linked to it.

QuickTip quickTip = new QuickTip(myGrid);

and an anchor

<a qtip='some text I want to display' />

I need to be able to do the same with Dialog instead of QuickTip and trigger the dialog onClick instead of onHover. Is this possible ? If I had to extend and customize, which class would that be ? how would I invoke the show() method of that widget from a native js onClick() method ?

2 Jun 2010, 12:58 PM
My issue might be resolved if I can set two cell renderers...one to return the html string and one to add a link/button. Is it possible to add two renderers to a same cell ?

2 Jun 2010, 1:36 PM
I fixed this issue by assigning one renderer, but instead of returning a String object with html in it, I am returning a FlowPanel object with all the other widgets I need within this panel.

3 Jun 2010, 10:04 AM
Why dont you use the Events.CellClick event and if the colIndex is the correct one, you show your dialog.