EaxCategoryView.DataView

Syntax

DataView: Array

Description

The DataView method determines data view shown in the express report working area.

Example

Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). The example given below outputs type of the object selected in the table in the express report working area:

// Get view of the Table tab
var category = expressBox.getRibbonView().getTableCategory();
// Get data view
var gridView = category.getDataView();
// Output selected object type
console.log("Selection type: " + gridView.getSelectionType());

After executing the example the browser console displays the following text:

Selection type: Column

See also:

EaxCategoryView