The data can be loaded from remote server one page at a time by setting following options
pageModel.type
to 'remote'dataModel.location
to 'remote'dataModel.url
to url of remote scriptGrid 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.