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
virtual scrolling in IE can'd display more as about 66700 rows
25/11/2011
12:16
Avatar
OlegK
Germany
Member
Members
Forum Posts: 1255
Member Since:
10/08/2009
sp_UserOfflineSmall Offline

Hello Tony,

there are a bug in virtual scrolling in Internet Explorer (I used IE9 in my tests). You can see the problem on the demo which work without any problem in Chrome and Firefox. After the opening of the demo one should go the the end of grid. In Chrome and Firefox you will see lines up to 99999 and in IE you can scroll only till the line number 66700.

The reason is the restiction in the maximum value of height and scrollTop properties. If one goes to the end of grid the line 

$(">div:first",ts.grid.bDiv).css({height : height})…

will try to assign the value 2299977 (it's 99999*23) to the height property. If you get the value of height property after the executing of the line you will see the value 1533917 (it's 66692*23 + 1) instead. It seems the maximum value which IE allows to assign to the height property.

Very close problem exist in the scrollGrid method because the maximum value which can be assigned to grid.bDiv.scrollTop seems be 1533691 (66682*23). So the value of scrollTop variable assigned in the line of populateVisible function will be never correspond to the end of the grid and the lines till the row number 66700 can be displayed only.

So it seems that one should make some changes in the code and use the scroling which not exactly orrespond to the virtual height of the grid. Instead of that one should hold the exact position in some internal jqGrid parameter. One can use scrollTop only to get relative position in the virtual grid. The exact position of the "view" which will be displayed should be calculated manually.

Best regards
Oleg

P.S. By the way, it you look at the trirand.net demo in Chrome you are able to scroll to the row with the OrderID=500000. In IE you will be able to scroll up to the row with the OrderID=100. I think, it's the same problem which I described before.

28/11/2011
20:48
Avatar
kobruleht
Member
Members
Forum Posts: 144
Member Since:
05/05/2011
sp_UserOfflineSmall Offline
09/05/2014
16:27
Avatar
aurelien.pernoud
Member
Members
Forum Posts: 5
Member Since:
28/07/2009
sp_UserOfflineSmall Offline

This bug is also annoying us now… there was a github ticket on the same subject here

https://github.com/tonytomov/jqGrid/issues/161

(refers also to http://stackoverflow.com/quest.....038;hellip;..ns-of-rows)

Is it something planned to be looked at ?

I tried even latest IE11 the bug is still here… just use the demo page as mentionned by Oleg :

http://www.trirand.net/aspnetm.....lscrolling

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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