That is becuase your XML server handler needs to only return the correct number of records - ie if you set the page size to 20 then the store will request 20 records, but if you return 50 it will show 50. The server must obey the request (in terms of index offset and pagesize).
So, how to tell server to return specific data? How to add addition parameters each time page load? To pass offset value and pagesize value. Right now, I reconfigure proxy reader each time I need to load data from server so I can change url each time to get data. So, I can add additional parameters manually. eg: http://myserver/getData?pg=3&psize=20 will return records for page 3. I can't simply get specific records if I use loader(0,20).
Yes, I did. But I have reconfigure builder so my server side can return correct xml data. May I know how to tell server side which records should be displayed. Currently, my server side will query database base on parameters given. eg. when pg=3, psize=20 it will SELECT * FROM table LIMIT 61, 80. Please guide me. Thanks.
Thanks. great info for me. Another question, right now, I will load each time when user click next, previous etc button on paging toolbar. I use override so I can trigger to load different records. Are there any better method? or let say I have set loader(0,20) is it the loader automatically call loader(21, 40) when I click next button?
Ok, it's working. Sorry, another one. How to set number of pages. If pagesize = 20, load(0,20), it will show only 1 page. Actually, there are more records, more than 20. Right now I manually set the totalLength value.
May I know what parameter send when we click header for remote sorting?