Forum



18:42

22/06/2010

I am using jqGrid 3.7.1 for my web app. I noticed some strange tooltip behavior using Firefox 3.6.3. I don't reliably get tooltips after I mouse over one cell, and moving to the next cell.
Here is how you create the behavior. I mouse over a cell which also highlight the entire row, tooltip is displayed. I then move mouse down to the cell below the previous cell, only the row is highlighted, but no tooltip.
After some more testing, I realize I have to mouse out of the entire grid, then mouse over the cell in order for tooltip to be displayed. Can someone tell me if this is a Firefox behavior? And more important, can this be remedied somehow. Is there anything I can do to add a mouse-out event?
BTW, the tooltips work perfectly in IE 6, and 8.
23:03

17/02/2009

Hi all,
Yes I have the same problem in the Firefox browser.
Fortunately, you can bypass it by replacing the cell columns tooltip manager by another.
In my case, i usually use jquery.qtip extension. ( http://craigsworks.com/projects/qtip )
Here is an example:
Use the "LoadComplete" handle event to replace the tooltip cell management.
To see an example, take the "JSON Data" sample in "Loading data" section of jqgrid demo.
In the jsonex.js source, insert after line 14 this code:
$("#list2 tr > td").each(function(){
if ($.trim($(this).attr("title"))!='') {
$(this).qtip({
content:{text:false},
position : {
corner: {
target:'topRight',
tooltip:'bottomLeft'}
},
style: {
padding: 5,
background: '#FFFFE0',
textAlign: 'center',
border: {
width: 7,
radius: 5
},
tip: 'bottomLeft',
name: 'blue' // Inherit the rest of the attributes from the preset dark style
}
});
}
});
Download the qtip extension from the official site and install it on your server side.
in the jqgrid.html, in the header javascript section , declare the call for this extension.
Now you should see the cell column tooltip without bug with Firefox.
Hope this will help.
Best regards
Phil
Most Users Ever Online: 715
Currently Online:
45 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