AutoUpdate: Boolean
The AutoUpdate property controls express report auto update.
Use JSON or the setAutoUpdate method to set the property value, and the getAutoUpdate method to get the property value.
By default the property is set to True, and express report updates automatically; if this property is False, auto update is disabled. Default property value is True.
Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Update the express report if the auto update is disabled, or show a message that the express report updates automatically:
var eaxAnalyzer = expressBox.getSource(); // If the express report autoupdate is disabled, refresh the report if(eaxAnalyzer.getAutoUpdate()) { console.log("Express report is updated automatically."); } else { expressBox.refreshAll(); console.log("Express report is refreshed."); }
After executing the example the user learns that express report auto update is enabled:
Express report updates automatically.
See also: