Forum
19:28
30/12/2008
Not sure if this will qualify as a bug, but if you use jqgrid and google maps API in the same page, jqgrid takes over the mouseover event causing google maps to behave rather odd. (Strangely enough IE6 works fine)
My temporary fix is as follows
BEFORE (jquery.jqGrid.js)
$(grid.hDiv).mousemove(function (e) {grid.dragMove(e.clientX); return false;}).after(grid.bDiv);
$(document).mouseup(function (e) {
if(grid.resizing) {
grid.dragEnd();
if(grid.newWidth && ts.p.forceFit===false){
var gwdt = (grid.width <= ts.p._width) ? grid.width: ts.p._width;
var overfl = (grid.width <= ts.p._width) ? "hidden" : "auto";
if(ts.p.pager && $(ts.p.pager).hasClass("scroll") ) {
$(ts.p.pager).width(gwdt);
}
if(ts.p.caption) {$(grid.cDiv).width(gwdt);}
if(ts.p.toolbar[0]) {$(grid.uDiv).width(gwdt);}
$(grid.bDiv).width(gwdt).css("overflow-x",overfl);
$(grid.hDiv).width(gwdt);
}
} return false;
});
AFTER (line 1444)
$(grid.hDiv).mousemove(function (e) {grid.dragMove(e.clientX); return false;}).after(grid.bDiv);
$(document).mouseup(function (e) {
if(grid.resizing) {
grid.dragEnd();
if(grid.newWidth && ts.p.forceFit===false){
var gwdt = (grid.width <= ts.p._width) ? grid.width: ts.p._width;
var overfl = (grid.width <= ts.p._width) ? "hidden" : "auto";
if(ts.p.pager && $(ts.p.pager).hasClass("scroll") ) {
$(ts.p.pager).width(gwdt);
}
if(ts.p.caption) {$(grid.cDiv).width(gwdt);}
if(ts.p.toolbar[0]) {$(grid.uDiv).width(gwdt);}
$(grid.bDiv).width(gwdt).css("overflow-x",overfl);
$(grid.hDiv).width(gwdt);
}
return false;
}
return true;
});
02:58
Moderators
30/10/2007
Hello,
Thanks. I know about this problem in google maps. There was such post before some weeks. I'm not sure If I make the correction this will not destroy other things. Also a strong testing is needed here.
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.
00:40
04/03/2009
Hello,
I am also experiencing an issue with google maps. If I load the grid in after the page has loaded, the click handler for the map gets messed up. When I click on the map, the click never gets released and the if I move the mouse around the page, the map just scrolls with it. Oddly enough, it works just fine with IE 7 but not with the Mozilla 3.0.6. Are there any suggestions for a fix? I don't want to run the grid in an iframe, but will if it's a must. Any info is greatly appreciated.
Thanks,
-Drew
00:12
Moderators
30/10/2007
Hello,
The fix will be in next bugfix 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.
Most Users Ever Online: 715
Currently Online:
57 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