WbkDataView.getViews

Syntax

getViews();

Description

The getViews method returns an array of visualizer views.

Comments

The method returns instances of the following classes:

Example

To execute the example, the page must contain the WorkbookBox component named workbookBox (see Example of Creating the WorkbookBox Component). Get array of visualizer views:

// Get workbook data view
book = workbookBox.getDataView();
// Get array of visualizer views
views = book.getViews();
// Get array length
console.debug("Array length:" + views.length);

After executing the example, an array of visualizer views is obtained. The browser console displays a message showing. array length.

See also:

WbkDataView