LinkedDimOpened: function (sender, args);
sender. Event source.
args. Event information. Available arguments: LinkedDim - dimension linked to the parameter.
The LinkedDimOpened event occurs when the dimension linked to the parameter is successfully found and opened.
Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Handle the LinkedDimOpened event:
// Get an object of the EaxParameterView class var paramsPanel = expressBox.getPropertyBarView() .getDataSourceParamsPanel(); // Get parameter view var parameterView = paramsPanel._Items[0]; // Handle the LinkedDimOpened event parameterView.LinkedDimOpened.add( function () { // Determine whether parameter view must be recreated var reInit = parameterView.getNeedInstanceReinit(); parameterView.refresh(reInit); } );
After executing the example each time the LinkedDimOpened event occurs, a corresponding parameter is refreshed.
See also: