Forum


01:53

13/11/2009

I have a grid based on the True scrolling Rows demo, ie "Scroll:1". I set the buffer to for instance 50 (rowNum:50) and have 20 visible rows (height:xxx). The problem is that the first 10 times I click the down-button on the scrollbar the grid asks the server for an update (and I get the "Loading ..." message). After the 10 initial loads the buffer is used correctly.
Anybody else seeing this bug? Is there a plan for it to be fixed?
Frode Oldervoll
Hi Frode,
I have not seen this behaviour when experimenting with scroll: 1.
I use a default definition like this:
jQuery.jgrid.defaults, {
altRows:true,
rowNum:40,
rowList:[],
sortorder: 'asc',
datatype: 'json',
viewrecords: true,
autowidth: true,
hoverrows: true,
shrinkToFit: false,
gridview: false,
loadui: 'enable',
multiselect: false,
sortable: true,
scroll: 1
}
);
The jqGrid is resizable but generally only 10 rows show. Each time I scroll down so that the first blank row is visible, it does one request for more data.
20:30

13/11/2009

I still have problems with scroll:1 – the first 9 times I click the down-arrow in the scrollbar the grid loads data from the server. I use the exact same script as in the "True scrolling Grid" example, and the data returned from the server is almost equal to the data returned from bigset.php.
I see the following when I debug the code (from grid.base.js):
populateVisible: function() {
14:59

Moderators
30/10/2007

Hello Frode,
Thanks for this. I just fix some things when we are with scroll:1. The fix is in GitHub.
If you want you can test it. Hope that at end the problem is fixed. You can test it.
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.
16:24

Moderators
30/10/2007

Hello,
Could you please provide a link to the problem. If you do this please include the nonminified (i.e development) version from GitHub.
Thank you.
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.
15:16

18/11/2009

Hello,
look at this post: http://www.trirand.com/blog/?p.....-problems/
... using a very little scrollTimeout should solve the problem.
Kind regards,
Klaus.
Most Users Ever Online: 715
Currently Online:
99 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