pjs.endOfData() for displays
This API returns the end of file status set by the most recent file operation. It can determine whether the last call to display.grid.readChanged() found more changed records.
Return Value
A boolean value is returned. True indicates no more changed records were found. False indicates a changed record was found.
Example
 pjs.defineDisplay("display", "subfiled.json", { rrnFields: { sfl: 'RRN' } });
// Load subfile grid data here
display.ctl.execute(); // display control record
// Now process all subfile grid records changed by the user
display.sfl.readChanged();
while (!pjs.endOfData()) {
// Process changed subfile records here
display.sfl.readChanged();
}