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.