Versions Compared

Key

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

...

  1. Data structure (optional) - A Profound.js data structure reference. If specified, the record will be populated with the values from the data structure. If not specified, global field values are used.

ExampleExamples


Code Block
languagejavascript
pjs.defineDisplay("display", "subfiled.json", { rrnFields: { sfl: 'RRN' } });
pjs.define("RRN", { type: 'integer' });
display.sfl.clear();
for (RRN = 1; RRN <= 99; RRN++) {
  // Logic to populate grid record can go here
  display.sfl.write();
}
display.screen.execute();

 


Code Block
languagejavascript
pjs.defineDisplay("display", "subfiled.json", { rrnFields: { sfl: 'RRN' } });
pjs.define("RRN", { type: 'integer' });
display.sfl.clear();
for (RRN = 1; RRN <= 99; RRN++) {
  // Logic to populate grid record can go here
  display.sfl.write();
}
display.screen.execute();

...