Forum
21:35
Moderators
30/10/2007
Hello,
Could you please post the grid configuration. Also there was a some fix in GitHub for this, but we should correct another one:
http://www.trirand.com/blog/?p.....38;ret=all
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.
22:19
Moderators
30/10/2007
Hello,
Check your server respons if it is correct for the second and etc pages. I will check with your code.
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.
02:10
I think, I've found the solution. The problem was in using parseInt function instead of Math.ceil when determening current page. So line 277 of grid.base.js file should be page = Math.ceil((tbot + scrollTop) / div) + 1; instead of page = parseInt((tbot + scrollTop) / div) + 1;
It should be tested probably, but it seems that it works on my example.
04:37
Well, it fixed the problem for me. Please try it with td padding of 7px and grid's height of 530px. It should be pretty close to my test environment. I double checked my server side code, and it works ok.
edit: Also, I have rownumbers set on true, and they are repeated too, so it is not like server side is returning wrong data, but jqGrid simply repeats first page of results.
10:02
Moderators
30/10/2007
Hello,
Thanks. Since this is reported from many users we will definitley check this and let you know.
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.
10:03
Moderators
30/10/2007
Hello,
Thanks. Since this is reported from many users we will definitley check this and let you know.
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.
10:04
Moderators
30/10/2007
Hello,
Thanks. Since this is reported from many users we will definitley check this and let you know.
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.
17:37
30/07/2009
The problem seems to be that some (perhaps all) browsers are reporting fractional coords for the top of the table, even though top, padding, scrollTop etc are all integers. So the formula sometimes computes 1.9999999 when it should compute 2. Math.ceil is not the solution, because the same rounding errors could produce 2.00001 and Math.ceil would then compute 3. But Math.round should be good enough.
I'd still like to figure out where the fractional pixels are coming from – but for now Im pretty sure that Math.round will solve the problem.
Mark
Most Users Ever Online: 715
Currently Online:
38 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