EaxAnalyzer.IsDataChanged

Syntax

IsDataChanged: Boolean

Description

The IsDataChanged property returns whether the express report data is changed.

Comments

Use JSON or the setIsDataChanged method to set the property value, and the getIsDataChanged method to get the property value. This property returns True if the express report has been changed, and False when otherwise.

This property can be used when the program checks if a request to save data should be shown before closing an express report.

Example

Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Check if the express report data has been changed and output an appropriate message:

var eaxAnalyzer = expressBox.getSource();
if (eaxAnalyzer.getIsDataChanged()) {
    console.log("Express report data has been modified.");
} else {
    console.log("Express report data has not been modified.");
}

After executing the example the browser console displays a message that the express report data has not been changed.

See also:

EaxAnalyzer