Method that returns the next record from the grid, based on previous calls to display.grid.readChanged 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.
var record; // Get the next record in the grid record = display.grid.readChanged(); // Verify it was retrieved if (typeof record !== 'undefined'){ // do something with retrieved record, etc.. }
RPG Equivalent
READC