EaxMdService.doUndoAction

Syntax

doUndoAction(report: PP.Exp.EaxAnalyzer, metadata, callback: PP.Delegate);

Parameters

report. Express report to be updated.

metadata. Metadata.

callback. Callback function.

Description

The doUndoAction method is used to work with undo/redo stack in express report.

Comments

Structure of the metadata parameter corresponds to wsdl UndoRedo and may contain the following values:

After the doUndoAction method is applied, refresh visualizer or object metadata.

Example

Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component. Execute any action to fill the stack of available undo actions. Undo the executed action by means of the code:

        report = eaxAnalyzer.getActiveSheet();
        // Set metadata for undoing of the 1 operation
        metadata = {
            "undo" : "1"
        };
        eaxMdService.doUndoAction(report, metadata)
        // Refresh report
        expressBox.refreshAll();

After executing the example the last action is undone.

See also:

EaxMdService