Hello Tony,
in addJSONData and addXmlData there are typing bug (the lines 1212 and 1383):
ts.p.lastpage = Math.min( ts.p.page, Math.ceil(gl/ rn) );
or
ts.p.lastpage = Math.min( ts.p.page, Math.ceil(len/ rn) );
should be fixed to
ts.p.lastpage = Math.max( ts.p.page, Math.ceil(gl/ rn) );
or
ts.p.lastpage = Math.max( ts.p.page, Math.ceil(len/ rn) );
Probobly even better to go back to the original lines
ts.p.lastpage = Math.ceil(gl/rn);
and
ts.p.lastpage = Math.ceil(len/rn);
To reproduce the bug one can just fill the grid having loadonce: true
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top