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