MetadataChanged: function (sender, args);
sender. Event source.
args. Event information.
The MetadataChanged event occurs on changing metadata of express report parameter.
Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Handle the MetadataChanged event:
// Get an object of the EaxParameterView class var paramsPanel = expressBox.getPropertyBarView() .getDataSourceParamsPanel(); // Get parameter view var parameterView = paramsPanel._Items[0]; // Handle the MetadataChanged event parameterView.MetadataChanged.add( function () { alert("Metadata is changed"); } );
After executing the example each time the MetadataChanged event occurs, the browser displays an appropriate message.
See also: