EaxDataView.getViewMode

Syntax

getViewMode();

Description

The getViewMode method returns value of the View Mode checkbox for the working area of the express report.

Comments

The method returns True if the express report is opened in the view mode, otherwise the method returns False.

Example

Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Then get value of the View Mode checkbox:

// Get an object of the EaxDataView class
var dataView = expressBox.getDataView();
console.log(dataView.getViewMode());

After executing the example the following text is displayed in the browser console:

false

See also:

 EaxDataView