setEnabledCFormat(value);
value .Value that determines access to the button: if this value is set to True, the Conditional Formatting button is available on the tab, otherwise it is unavailable.
The setEnabledCFormat method controls access to the Conditional Formatting button on the Home 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). Open access to the Conditional Formatting button on the Home tab:
// Get view of the Home tab var category = expressBox.getRibbonView().getMainCategory(); // Open access to the Conditional Formatting button category.setEnabledCFormat(True);
Before executing the example the Conditional Formatting button is inactive:
After executing the example this button becomes active:
See also: