View Full Version : store pagination broken in 0.96?

4 Oct 2010, 9:04 AM
Hi, my app was working fine in 0.93, today i updated to 0.96, and my store pagination won't work anymore.

this is my store:

var picdata_store = new Ext.data.Store({
autoload: true,
id: 'picdata_store',
model: 'picData',
pageSize: 44,
currentPage: 1,
proxy: new Ext.data.AjaxProxy({
type: 'ajax',
url: 'php/filtra2.php',
extraParams: {
q: tipologia,
cat: catalogo
reader: {
root: 'items',
type: 'json',
totalProperty: 'totalCount'

and it works fine.
I have pagesize set to 44 and my query returns 46 records.
So i have a button that fires nextPage event.

var next_pic = function() {
Ext.getBody().mask(false, '<div class="demos-loading">Loading&hellip;</div>');

that, in the old version, returns the 2 records left, now it returns again the first 44.

anyone got this problem?


4 Oct 2010, 3:57 PM
Paging isn't fully implemented yet, there's still some work to be done on it to get it going.

5 Oct 2010, 12:15 AM
Thanks Evant, i'm waiting for 0.97 :)