Extjs offers a gridpanel with pagination functionality, but I believe that the pagination only works once all the data has been received from the server (please correct me if I am mistaken). In my situation, the total amount of data from the server is 20MB, which I do not want to load in one ajax call as it can cause browser performance issues. Here is what I am looking for:
- Load approximately 1 MB of data at the initial page load
- Implement extjs pagination within this loaded data
- When the next button on the paging toolbar is clicked, make an ajax call to retrieve the next 1MB of data and display it in the grid
- Continue using extjs pagination within each subsequent 1MB chunk of data
- Repeat this process...
I would appreciate any suggestions on how I can achieve this, or if there are existing methods in EXTJS to handle this scenario. Thank you for your assistance.
PS: My backend server is Django