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
Subgrid problem within IE7
15/12/2009
11:53
Avatar
Daniyel
Member
Members
Forum Posts: 8
Member Since:
12/11/2009
sp_UserOfflineSmall Offline

I am implementing Grid in my application. Problem seems to occur only in IE7. When you open subgrid and then subgrid within subgrid you get empty element. After some event is trigger on the site subgrid appears/refreshes. I tested this in IE8 and FF and it seems to work ok in those, so i asume its problem within IE7. Just wanted to point it out if this has been resolved in any case would apprichiete tip, help w/e.

Problem also occurs if you resize window fast enough and if you have function to resize grid.

Example:

IE7 subgrid problemImage Enlarger

15/12/2009
18:33
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Thanks for posting this issue.

Could you please try with 3.6.2?

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.

16/12/2009
09:16
Avatar
Daniyel
Member
Members
Forum Posts: 8
Member Since:
12/11/2009
sp_UserOfflineSmall Offline

I tried it also with latest version from github to exclude posibility of bringing this up if it was solved but problem seems to still exist.

PS: this subgrid was created as grid (with titlebar and navbar, so9 might be wrong section as it says it is for treegrid...

18/12/2009
15:14
Avatar
Daniyel
Member
Members
Forum Posts: 8
Member Since:
12/11/2009
sp_UserOfflineSmall Offline

I also bumped into some topics on the internet that IE7 had problems with refreshing pages when you pressed refresh several times, so i think it might be just problem within IE7 that don't hold events correctly.

I also thought of resizing subgrid for 1px after its being Expanded but that just isn't optimal solution (like dummy refresh action).

29/12/2009
10:46
Avatar
Daniyel
Member
Members
Forum Posts: 8
Member Since:
12/11/2009
sp_UserOfflineSmall Offline

Ok i found what was the problem. In file jquery.jqGrid.min.js there is a line where you dinamicaly add div and style=”position:relative;”

so it creates next html code:

<div class=”ui-jqgrid-bdiv>

     <div style=”position: relative;>
If i edit this as:

<div class=”ui-jqgrid-bdiv>

     <div style=””>
It works ok in both IE7 and IE8 and of course FF and it doesnt affect anything.
I don't know which line of code it is since it is all in same line but its like this:
$(grid.bDiv).append($('<div style=”position: relative;”></div>').append(”<div></div>”).append(this)).addClass(”ui-jqgrid-bdiv”).css({height:ts.p.height+(isNaN(ts.p.height)?””:”px”)
After edit:
$(grid.bDiv).append($('<div style=””></div>').append(”<div></div>”).append(this)).addClass(”ui-jqgrid-bdiv”).css({height:ts.p.height+(isNaN(ts.p.height)?””:”px”)
29/12/2009
16:24
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Thanks. Could you please try the last one from GitHub. Just updated this. Also there was a typo when this bug was fixed

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

14/01/2010
11:32
Avatar
Daniyel
Member
Members
Forum Posts: 8
Member Since:
12/11/2009
sp_UserOfflineSmall Offline

Hi.

the updated version has this ' + (isMSIE && $.browser.version < 8 ? "height:0.01%;" : "") + ' and after testing it, subgrids worked perfect, they didn't disapear anymore.

Thank you.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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