Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.

...

Code Block
languagejavascript
 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();
}