setPropertyValue(propertyName, value);
propertyName. Value type. It may take the following values:
PP.Exp.Ui.EaxPropertyViews.GridSelection;
PP.Exp.Ui.EaxPropertyViews.SourceOpened;
PP.Exp.Ui.EaxPropertyViews.DataSourceOpened;
PP.Exp.Ui.EaxPropertyViews.EnableAnalyticsTimeSeries;
PP.Exp.Ui.EaxPropertyViews.EnableAnalyticsValidation.
value. Object. Set value.
The setPropertyValue method controls button visibility.
Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Open the Advanced Analytics tab in the report and enter the following code in the console:
// Get tool ribbon ribbon = expressBox.getRibbonView(); // Get the Advanced Analytics tab analyticCat = ribbon.getAnalyticsCategory(); // Set visibility for the Time Series Analysis button analyticCat.setPropertyValue(PP.Exp.Ui.EaxPropertyViews.EnableAnalyticsTimeSeries, false);
After executing the example the Time Series Analysis button is available.
See also: