hi,

I am trying to adopt paging (ideally infinite scroll, but this stage just pure paging). Backend is spring supported, that accepts start and limit parameter, what is working fine. First page is show, but unable to get next. Stripped out all unnecessary code - I hope

Code:
http://localhost:8080/search.json?crit=my&start=0&limit=3
store is having a grouping header, but that all done on server side, nothing to do on client
Code:
Ext.define('MyApp.store.Search',{
	extend: 'Ext.data.Store',
	model: 'MyApp.model.Search',
	groupField: 'teamPrj',


	sorters: [
	          { property : 'teamPrj', direction: 'ASC' },
	          { property : 'name', direction: 'ASC' }
	],

	autoLoad: true,
    remoteSort: true,
    buffered: true,
    pageSize: 100,


	proxy: {
		type: 'ajax',
		url: MyApp.CONTEXT_PATH + '/search.json',
		reader: {
            type: 'json',
            root: 'data',
            totalProperty: 'total'
        }
	}



});

Ext.define('MyApp.model.Search',{
	extend: 'Ext.data.Model',


	fields: ['teamPrj',
	         'isrc'

]


});
Loading the grid with its popup window, like this:
Code:
sParams = {crit: my};


		                        		var store = Ext.StoreMgr.get('Search');


		                            	Ext.Ajax.request({
		                                    url: MyApp.CONTEXT_PATH + '/search.json',
		                                    params: sParams,
		                                    timeout: 3000, 
		                                    method: 'GET',
		                                    waitMsg: 'Searching...',
		                                    scope: this, 
		                                    success: function(response, opts) {




		                                        var obj = Ext.decode(response.responseText);

		                                        var store = Ext.StoreMgr.get('Search');
		                                        if (obj.success) {
		                                        	 console.log('total='+obj.total);
		                                        	store.proxy.totalCount = obj.total;

		                                        	store.loadData(obj.data);
what's missing?

thx,
Zol