display.endOfData()



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)