Flexmonster Software License Agreement (“Agreement”) has been significantly revised and is effective as of September 30, 2024.
The following modifications were made:
The modified version of Flexmonster Software License Agreement is available here.
Downloading, installing, and/or continuing to use Flexmonster Software after September 30, 2024, constitutes Licensee’s acceptance of the terms and conditions of the modified version of Flexmonster Software License Agreement. If Licensee does not agree to any of these terms and conditions, they must cease using Flexmonster Software and must not download, install, use, access, or continue to access Flexmonster Software. By continuing to use Flexmonster Software or renewing the license under License Model or Maintenance after the effective date of any modifications to Agreement, Licensee accepts and agrees to be bound by the terms and conditions of the modified Agreement.
openCalculatedValueEditor(uniqueName: String, callbackHandler: Function)
[starting from version: 2.7.9]
Opens the calculated value pop-up window editor. Calling openCalculatedValueEditor
results in opening an empty editor for creating a new value. It is also possible to open this editor for editing or deleting an existing calculated value.
Parameter/Type | Description |
---|---|
uniqueName String | optional The unique name of the calculated value. It is used for editing or deleting an existing calculated value. |
callbackHandler Function | optional Called after a particular action (clicking the Apply or Delete button). It has the following parameter:
|
Property/Type | Description |
---|---|
uniqueName String | The unique name of the calculated value. |
isRemoved Boolean | Specifies whether the calculated value was removed (true ) or not (false ). |
1) How to open the calculated value editor without parameters:
pivot.openCalculatedValueEditor();
Check out on JSFiddle.
2) How to open the calculated value editor for the previously defined calculated value (Revenue
):
pivot.openCalculatedValueEditor("Revenue");
Check out on JSFiddle.
3) How to open the calculated value editor for the previously defined calculated value (Revenue
) and send a function as a callback:
pivot.openCalculatedValueEditor("Revenue", function(response) {
console.log(response);
});
Check out on JSFiddle.
Calculated values tutorial
addCalculatedMeasure
getAllMeasures
getMeasures
removeAllCalculatedMeasures
removeCalculatedMeasure