PDA

View Full Version : Showing popup over the row



harjit.singh
18 Jan 2010, 4:11 PM
Hi there,

I'm trying to show a popup when somebody rolls over a mouse over a row.

The popup is being displayed a lot of rows above where I want it to be. Does anybody know how to get the correct co-ordinates.

Here is my code


popup.showat() and using the getAbsoluteTop and Left to get the X and Y.


Thanks

- Harjit

Arno.Nyhm
19 Jan 2010, 7:44 AM
why you not use a quicktip?

harjit.singh
19 Jan 2010, 9:05 AM
Where in the creation of the Grid can I set up QuickTip for each row ?

Thanks

- Harjit

Arno.Nyhm
21 Jan 2010, 7:49 AM
you need to init Quicktip with your grid like this



new QuickTip(mygrid);


and then assign to the row dom element the qtip attribute.