undo();
The undo method rolls back changes in working area of the express report.
Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Then roll back the changes made in the working area of the express report:
var dataView = expressBox.getDataView(); // Set handler for the UndoChangedData event dataView.UndoChangedData.add(function(){ alert("Roll back data changes") }); dataView.undo();
After executing the example changes are cancelled, and the following message pops up: Data changes rollback.
See also: