TitleBox.SelectionChanged

Syntax

SelectionChanged: function (sender, args);

Parameters

sender. Event source.

args. Event information. Available arguments: Dimension - data source of dimension tree, an object of the PP.Mb.Dimension type.

Description

The SelectionChanged event occurs after changing selection in express report title.

Example

Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Handle the SelectionChanged event:

// Get express report title view
var titleView = expressBox.getDataView().getTitleView();
// Handle the SelectionChanged event
titleView.SelectionChanged.add(function () {
    titleView.refreshSelections();
    titleView.updateContent();
    }
);

After executing the example on occurring the SelectionChanged event, state of the express report title is refreshed in accordance with the model state.

See also:

TitleBox