AdvAnalyticsCatView.setPropertyValue

Syntax

setPropertyValue(propertyName, value);

Parameters

propertyName. Value type. It may take the following values:

value. Object. Set value.

Description

The setPropertyValue method controls button visibility.

Example

To execute this example, the HTML page must contain the ReportBox component named reportBox (see Example of the ReportBox Component Layout). Open the Advanced Analytics tab in the report and enter the following code in the console:

// Get tool ribbon
ribbon = reportBox.getRibbonView();
// Get the Advanced Analytics tab
analyticCat = ribbon.getAnalyticsCategory();
// Set visibility of data mining buttons
analyticCat.setPropertyValue(PP.Prx.Ui.RibbonProperty.EnableAnalyticsDataMining, false);

After executing the example the data mining buttons are not available.

See also:

AdvAnalyticsCatView