Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 14 Next »

This method returns a specific display's end of file state indicating 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 (!display.endOfData()) {
  // Process changed subfile records here
  display.sfl.readChanged();
}


RPG Equivalent

%EOF(display_file_name)

  • No labels