refresh ();
The refresh method refreshes component.
To execute the example, the page must contain the WorkbookBox component named workbookBox (see Example of Creating the WorkbookBox Component), and also add the following code in the handler, that processes document opening event:
var refreshButt = new PP.Ui.Button({ ParentNode: document.body, //DOM parent node Content: "Refresh", //Text Click: PP.Delegate(onClickRefresh) }); function onClickRefresh() { //Get the panel, which must contain trend parameter setup wizard panel var parametersPanel = workbookBox.getPropertyBarView().getParametersPanel(); //Get the output series selection wizard panel var outputSerieWizard = parametersPanel._OutputSerieWizard; //Refresh component outputSerieWizard.refresh(); }
After executing the example the WorkbookBox component and a button named Refresh are placed in the HTML page. To execute the example, open the Parameters panel in the Series tab of the side panel, and click the Refresh button. Output series will be refreshed.
See also: