setPropertyValue(propertyName, value);
propertyName. Value type. It may take the following values:
PP.Prx.Property.GridSelection;
PP.Prx.Ui.RibbonProperty.EnableAnalyticsTimeSeries;
PP.Prx.Ui.RibbonProperty.EnableAnalyticsDataMining;
PP.Prx.Ui.RibbonProperty.EnableAnalyticsValidation.
value. Object. Set value.
The setPropertyValue method controls button visibility.
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: