IsDefaultHighlight: Boolean
The IsDefaultHighlight property returns whether selection of express report elements is set by default.
Use JSON or the setIsDefaultHighlight method to set the property value, and the getIsDefaultHighlight method to get the property value. This property returns True if the express report has been changed, and False when otherwise.
Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Check if selections of express report elements are set, and show an appropriate message:
var eaxAnalyzer = expressBox.getSource(); // Check if the selection of express report elements is set by default if (eaxAnalyzer.getIsDefaultHighlight()) { console.log("Selection of express report elements is set by default."); } else { console.log("Selection of express report elements is not set by default."); }
After executing the example the browser console displays a message that selections of express report elements are not set by default.
See also: