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_Related Related Topics sp_TopicIcon
4.2.0 jqgrid IE dialogs not positioning correctly
Tags: 4.2.0
18/10/2011
22:06
Avatar
triley
Ohio
Member
Members
Forum Posts: 6
Member Since:
22/08/2011
sp_UserOfflineSmall Offline

I just downloaded jqgrid 4.2.0. I had a problem with previous versions of the grid where the overlay dialogs (from add, edit, delete, etc.) did not work in IE correctly (they actually push the grid out of view and display the dialog which gives the illusion that they are not overlaying the grid). I applied a patch that I had in previous versions but hoped this would have been taken care of in the new version.

The fix is to edit the new jquery.jqGrid.min.js file and go to line 396 and change the following section of code

From this:

var h=b("<div></div>").css({height:"100%",width:"100%",position:"absolute",left:
0,top:0,"z-index":g-1,opacity:d.overlay/100});

To This:

if($.browser.msie) var h=b("<div></div>").css({height:"100%",width:"100%",position:"absolute",left:0,top:0,"z-index":g-1,opacity:d.overlay/100});
else var h=b("<div></div>").css({height:"100%",width:"100%",position:"fixed",left:0,top:0,"z-index":g-1,opacity:d.overlay/100});

You can't just change "fixed" to "absolute" as it breaks it for other browsers

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
37 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