EaxDimBarView.RequestMetadata

Syntax

RequestMetadata: function (sender, args);

Parameters

sender. Event source.

args. Event information.

Description

The RequestMetadata event is generated when no data is contained in the source of dimension panel.

Example

Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Create a handler of the RequestMetadata event, so that on firing the event all contents of the dimension panel and panel appearance are refreshed:

var dimBar = expressBox.getPropertyBarView().getDimBarViewPanel();
// Show the panel
dimBar.show();
// Expand the panel
dimBar.expand(True);
// Handle the RequestMetadata event
dimBar.RequestMetadata.add(
function () {
    dimBar.refreshAll();
    dimBar.updateVisibilityDims();
});

After executing the example on firing the  RequestMetadata event, all contents of the dimensions panel and panel's view are refreshed.

See also:

EaxDimBarView