extjs4 - How do I set total number of pages in ExtJS 4 paging? -
I'm not sure whether this is possible or not, but I was wondering if I set the number of pages in paging could. That's what I can set page 1 of 20. (If I set it to my total page 20) and when someone clicks on the next page, it will return the data on the page which depends on the page number but may be of any size I can not limit the page size Want to do Depending on the page number it will be the dynamic page size. Most of what I was looking for is for the first time when a person submits the form, then I can send the total number of pages and when he clicks on next, he will show all the statistics on that page. I was wondering if I could send the total number of pages, as we sent total properties for the total number of data lines. Like below, I want to make pages piazza which will be total property = total now. Besides, I would like to know whether I can set the number of total pages.
var store = Ext.create ('Ext.data.Store', {model: 'test_data_layout', pagesystem: '50', proxy: {type: 'ajax', url: URL Update: 'Post', Update: 'Post', Delete: 'Post'}, Reader: {type: Json ', Route:' Data ', Total Property:' ': Action: Management: {Create:' Post ', Read:' Post ' Total '}}, auto-load: true});
It is not how it works. You tell it how many records you have, and how many records you want to fit in one page, and it calculates the number of pages for you.
Comments
Post a Comment