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
bug on IE8 compatibility view with IE7
01/03/2013
11:49
Avatar
sabinstefanescu
New Member
Members
Forum Posts: 2
Member Since:
01/03/2013
sp_UserOfflineSmall Offline

Hey Guys,

I've been experiencing a strange problem on IE8 with a combination of jqGrid and dialog in jQuery UI.

When loading a jQuery UI dialog on a selectRow event, the jqGrid table element moves up a few pixels (2 or 3 at most). Though the problem does not seem to appear on IE8 in general, it does appear on a page from the intranet.

Now here's what I managed to dig up:

Firstly, IE8 renders a page from the intranet in IE7 compatibility view by default, which is quite strange, but it's IE so no further questions asked.

Secondly, given the IE7 environment, jqGrid generates the elements differently and the parent div of the main table (the one right below #ui-jqgrid-bdiv) has a height:0.01% rule, added to the standard position:relative. Without that rule, everything seems to work fine, even on ie7.

So, my question is, what is the use of that height:0.01% rule. Couldn't jqGrid work the same without it?

Thank you very much,

Sabin Stefanescu

01/03/2013
12:15
Avatar
OlegK
Germany
Member
Members
Forum Posts: 1255
Member Since:
10/08/2009
sp_UserOfflineSmall Offline

I recommend you to use meta http-equiv="X-UA-Compatible" like

<meta http-equiv="X-UA-Compatible" content="IE=edge"/>

or add "X-UA-Compatible" in the HTTP header by configure your web server (see here).

It will perevnt usage of Compatibility View independent on the setting of Internet Explorer. Why one should simulate IE7 on your HTML page?

Regards
Oleg 

01/03/2013
15:34
Avatar
sabinstefanescu
New Member
Members
Forum Posts: 2
Member Since:
01/03/2013
sp_UserOfflineSmall Offline

Thanks! It works very well.

But the problem with that div still still stands on ie7.

I tested jqGrid without the height and it seems to work flawlessly. Could that be a bug?

Regards,

Sabin

PS: nobody would simulate IE7 on the page willingly, but it will be used only on the intranet and since the default behaviour of IE8 is to render pages form the intranet in compat. view with IE7 standards, that could be a problem.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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