DimensionTree.FormulaChanged

Syntax

FormulaChanged: function(sender, args);

Parameters

sender. Event source.

args. Event information.

Description

The FormulaChanged event occurs after changing formula of the dictionary, which data is contained in the tree.

Example

To execute the example, the HTML page must contain the DimensionTree component named dimTree (see Example of Creating the DimensionTree Component). Process and call the FormulaChanged event:

// Process and call the FormulaChanged event
dimTree.FormulaChanged.add(function(sender, args) {
    console.log("New formula: %s", args.Formula)
})
// Call the FormulaChanged event
dimTree.FormulaChanged.fire(dimTree, {
    Formula: "a[t]*5"
});

After executing the example the browser console displays the formula specified at calling the FormulaChanged event:

New formula: a[t]*5

See also:

DimensionTree