Home › Forums › Bugs › Scrolling and Pagination For Last Page
Hello, I've been working with jqGrid 3.6.2 for a couple of days and noticed that I was not getting the pagination I expected. Here is my options object:
var options = {
Hello,
Thank you very much for the investigation.
Currently I can not confirm that this is a bug. I will check with your settings and let you known.
Thanks again
Best Regards
Tony
Hi Tony,
I had the same problem. I think solution is pretty simple, if I change:
Ln279: //page = parseInt((tbot + scrollTop) / div) + 1; // Original code
to
Ln279: page = parseInt((tbot + scrollTop + div – 1) / div) + 1; //changed code
in grid.base.js, everything works fine.
Also I found a problem: when grid uses 'altrows:true' scrolling doesn't work. I did a workaround by adding
scrollTop -= (rows.outerHeight() – rows.innerHeight()) * rn;
after ln271.
I need to test this.
Thanks.
Stay connected with us in your favorite flavor!
Copyright 2014 TriRand LtdAll Rights ReservedRSS