Forum


21:02

12/06/2009

Hello,
In the process of developing a small personal site using jqGrid, I've come across an issue regarding integration of onmouseover/hover JavaScript code when jqGrid renders.
Essentially, the page loads a third-party JavaScript file (found here: http://static.wowhead.com/widg.....s/power.js) that parses the content of the page looking for particularly formatted tags and creating a mouseover tooltip where appropriate.
To see this intended tooltip behavior, go to the following link and hover over any of the purple items in the "Name" column at the top: http://www.voximmortalis.com/k.....ion/?raids
To produce the example above, I just copied the generated HTML from my jqGrid output and put it at the top of the page above the actual jqGrid to test the tooltip/hover outside of jqGrid rendering, and as you can see, the tooltips appear correctly.
Unfortunately I do not know enough JavaScript or jQuery to determine exactly what is causing this, but I suspect jqGrid executes some sort of function that overwrites or removes the mouseover functionality originally set by the third-party javascript file linked above.
My first troubleshooting idea was that jqGrid was executing after the third-party javascript so I tried executing the third-party script within the loadComplete and gridComplete events in jqGrid but that didn't solve the problem.
I realize this is a fairly specific problem and since it deals with the linked third-party script it's not solely a jqGrid issue, but if anyone has a suggestion how I might suppress jqGrid's removal/alteration of the mouseover script for my tags I'd really appreciate it.
Thanks,
-Gabriel W.-
02:47

Moderators
30/10/2007

Hello,
I have alreday add a option hoverrows (true or false) which enables/disables this. Also available in GitHub only. Will be available in the final release.
Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
03:03

12/06/2009

tony said:
Hello,
I have alreday add a option hoverrows (true or false) which enables/disables this. Also available in GitHub only. Will be available in the final release.
Regards
Tony
Tony you're my savior!
After just 10 minutes of grabbing the latest GitHub package and modifying my .jqGrid parameters a bit, the default mouseover tooltips were properly hidden and my third-party tooltips were working as intended!
I can't thank you enough for your excellent tool and especially the prompt and helpful response to my support question. Keep it up!
-Gabriel W.-
Most Users Ever Online: 715
Currently Online:
53 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66