Remote paging

Remote paging in web-based grids is a technique used to efficiently manage and display large datasets in a grid or table format, where data is fetched from a remote data source, typically a server, in smaller chunks or pages as needed. This approach offers several benefits in web applications, particularly when dealing with large datasets:

In pqgrid, the data can be loaded from remote server one page at a time by setting following options

Grid sends pq_curpage and pq_rpp parameters to remote script.

In return remote script sends back following JSON data

{
    totalRecords: count of total records ( number )
    curPage: current page no ( number )
    data: data of current page ( Array of rows )
}    
If the key names are named differently in json response, they can be mapped to required key names in dataModel.getData method.