EaxToolBarView.MetadataChanged

Syntax

MetadataChanged: function (sender, args);

Parameters

sender. Event source.

args. Event information.

Description

The MetadataChanged event occurs on changing data in the view of the group of buttons used to switch between data display modes.

Example

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 button group view for selecting data display mode
var toolBar = expressBox.getDataView().getToolBarView();
toolBar.MetadataChanged.add(
function() {
     // Refresh button group 
     toolBar.refreshAll();
}
);

After executing the example each time after the MetadataChanged event occurs, the group of buttons used to switch between data display modes, is refreshed.

See also:

EaxToolBarView