refresh (reInit);
reInit. Determines whether component will be redrawn. If this parameter is True the component is redrawn, if the parameter is False - it is not (default).
The refresh method refreshes report parameter control.
To execute the example, the page must contain report parameter control named param (see example in the page of the ParamView.LinkedDimOpened event). Add a button clicking which refreshes and redraws a given control:
var but = new PP.Ui.Button({
Content: "Refresh",
ParentNode: document.body,
Click: function () {
param.refresh(true)
}
});
After executing the example the Refresh button is added in the page. Clicking this button refreshes the dictionary drop-down list. If some dimension elements have been selected, the selection is reset. The ParamView.LinkedDimOpened and ParamView.ViewReady events will be fired.
See also: