Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
Supress jqGrid onmouseover/hover code?
11/06/2009
21:02
Avatar
GabeStah
New Member
Members
Forum Posts: 2
Member Since:
12/06/2009
sp_UserOfflineSmall Offline

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.

However, once jqGrid renders the same tags and does it's thing, the third-party script no longer generates the desired tooltips. In the same example URL above, if you now click on the "+" next to Inv. No 49, jqGrid will re-render the top table (again, I just pulled out the HTML from the subgrid) but now mousing over the purple links in the Name column at the top no longer produce the desired tooltips (instead just showing the default jqGrid tooltips). Likewise, if you click "+" next to Inv. No 48 you can see the subgrid in action with the same result.

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.-

12/06/2009
02:47
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

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.

12/06/2009
03:03
Avatar
GabeStah
New Member
Members
Forum Posts: 2
Member Since:
12/06/2009
sp_UserOfflineSmall Offline

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.-

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
77 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.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information