RequestMetadata: function (sender, args);
sender. Event source.
args. Event information.
The RequestMetadata event is generated when no data is contained in the source of dimension panel.
Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Create a handler for the RequestMetadata event, so that visual display of the dimension panel is refreshed on occurring this event:
var dimBarMaster = expressBox.getPropertyBarView().getDimBarMasterView(); // Show selection wizard dimBarMaster.show(); // Handle the RequestMetadata event dimBarMaster.RequestMetadata.add( function () { // Refresh dimension visual display dimBarMaster.updateVisibilityDims(); } );
After executing the example on occurring the RequestMetadata event, the dimension panel visual display is refreshed.
See also: