MainCatView.setEnabledTypeData

Syntax

setEnabledTypeData(value);

Parameters

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.

Description

The setEnabledTypeData method controls access to the Convert Data button on the Home tab of the express report tool ribbon.

Example

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: