Forum
12:16
10/08/2009
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
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.
20:48
05/05/2011
This is discussed in
http://stackoverflow.com/quest.....ns-of-rows
Slickgrid shows 500000 rows in IE9 without issues:
http://mleibman.github.com/Sli.....aview.html
Code is here:
https://github.com/mleibman/SlickGrid/commit/33781134ba140827957aa5975279f2570cd74a69
16:27
28/07/2009
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 :
Most Users Ever Online: 715
Currently Online:
36 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