EaxGridView.getViewMode

Syntax

getViewMode();

Description

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

Comments

The method returns True if the table is opened in the view mode, and False if it is opened in the edit mode.

Example

Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Output value of the table view mode:

// Get table view
var gridView = expressBox.getDataView().getGridView()
// Output view mode value
console.log("View mode: " + gridView .getViewMode());

After executing the example checkbox value is returned:

View mode: false

See also:

EaxGridView