DataAreaView.ActiveSheetChanged

Syntax

ActiveSheetChanged: function (sender, args);

Parameters

sender. Event source.

args. Event information.

Description

The ActiveSheetChanged event is fired on changing the active report sheet.

Example

To execture this example, the HTML page must contain the ReportBox component named reportBox. Add a handler for the ActiveSheetChanged event:

reportBox.getDataView().ActiveSheetChanged.add(function (sender, args) {

      reportBox.getDataView().getGridView().setIsEditable(false)

});

After executing the example, on change of the active report sheet table cells become unavailable for editing.

See also:

DataAreaView