ChainDialog.FormulaChanged

Syntax

FormulaChanged: function (sender, args);

Parameters

sender. Event source.

args. Event information.

Description

The FormulaChanged event occurs after changing a formula in the dialog box.

Example

Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Add an event for the dialog box:

// Get toll ribbon
ribb = expressBox.getRibbonView();
// Get tool ribbon tab
cat = ribb.getTableCategory();
// Get calculation chain dialog box
dialog = cat.getChainDialog();
// Handle the FormulaChanged event
dialog.FormulaChanged.add(
    function(sender, args) {
        console.log(args);
    }
);

After executing the example on event occurrence the event arguments are displayed to the console.

See also:

ChainDialog