In Pagination How to get data from data table

Hi,

In datatable I am using pagination. on click of next button I am setting some records in datatable. How to retrieve that particular records from datatable

Hi,

getRange method of DataStore will return an array of all records of the current page:

var records = $$("mytable").data.getRange();