I would like to get my datagrid results on page through records like ESRI Sample here:
Query with Feature Layer | ArcGIS API for JavaScript
The sample using Feature Layer and return the object ids for all the records that match. I am not sure how to change this line of code under queryRecordBy Page function for query.objectIds = pageInfo.results.slide(begin, end) since not using objectIds at all.
Here is JSFiddle:
http://jsfiddle.net/MayJeff00/9nkasc43/
Thank you.
Solved! Go to Solution.
Hi May,
Here's the modified JSFiddle with paging.
Is there a reason you want to stick with Dojox DataGrids rather than switching over the the new dGrid?
Sometimes results return more than 300, and would need it to shows 50 records per page. Or do you have other method to perform this task? I only find this ESRI Sample can do #records per page..
Thank you very much. It works so well.