displayRecord

Displays a record in an Gebra Suite app. To get a record, you could use e.g. loadRecord

Parameters

  1. the record.

  2. the current control. This control is excluded from the discard changes check, that occurs before the record is displayed

Example Usages

Simple (pay attention to the await keyword)

await app.displayRecord(myRecord, "myKeyControlId");

In this context, await keyword is used to wait for the completion of the asynchronous function displayRecord. It halts the execution of the code until the asynchronous function has finished executing and its promise has been resolved.

Last updated