setEnabledCFormat(value);
value. Value that sets access to a button. If the value is True, the Conditional Formatting button is available, otherwise it is not.
The setEnabledCFormat method controls access to the Conditional Formatting button on the Table tab of the express report tool ribbon.
Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). The example given below opens access to the Conditional Formatting button on the Table tab:
// Get view of the Table tab var category = expressBox.getRibbonView().getTableCategory(); // Open access to the Conditional Formatting button category.setEnabledCFormat(True);
Before executing the example the Conditional Formatting button was inactive:
After executing the example the button becomes active:
See also: