DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY, UNLESS YOU KNOW WHAT YOU'RE DOING. THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO EXTRACT CHANGES FROM THE PAGE AND MERGE THEM BACK INTO SERVOY SOURCE
var isEditing = foundset.getSelectedRecord().isEditing() // also foundset.getRecord can be used
rollbackChanges
void
rollbackChanges
()
If this record exists in underlying datasource it will do a re-query to fetch the latest data from the datasource.
NOTE: If you use transactions then it will be the data of your last update of this record in the transaction,
not the latest committed data of that record in the datasource.
Returns void
Sample
var record= forms.customer.foundset.getSelectedRecord();
record.rollbackChanges();