PDA

View Full Version : [CLOSED] Grid Paging



rnachman
Aug 06, 2012, 7:36 PM
We want to load our grid with approximately 250 - 500 records but instead of loading all records at one time, we need to load only page size records, like 50 at a time. While clicking on paging arrows (next page, first page, etc.) it needs to fetch next set of records, so that grid loading time will be consistent regardless of the total number of records.

Currently our loading time is inconsistent, and often very slow on our pages, because we load all records, instead of just the page count.

Please provide sample code on how to implement this functionality.

Daniil
Aug 06, 2012, 7:55 PM
Hi,

You need to implement remote paging.
http://examples2.ext.net/#/GridPanel/Paging_and_Sorting/Handler/
http://examples2.ext.net/#/GridPanel/Paging_and_Sorting/JSON_WebService/
http://examples2.ext.net/#/GridPanel/Paging_and_Sorting/XML_WebService/
http://examples2.ext.net/#/GridPanel/Paging_and_Sorting/DirectMethod/
http://examples2.ext.net/#/GridPanel/Paging_and_Sorting/Page/