Method that returns the next record from the grid, based on previous calls to display.grid.reachChanged or display.grid.getRecord (if neither has been previously called it will return the first record of the grid if present.)
Parameters
ds (optional) - A Profound.js data structure reference. If specified, the referenced data structure will be populated with the record data (if found).
Return Value
If a record is found, this method returns an object containing the fields in the matched record as properties. This would normally be used if a data structure is not specified in the method call. If a record is not found. an empty object is returned.