MetaDataViewerPanel.Source

Syntax

Source : PP.TS.WbkDocument;

Description

The Source property determines a data source for attributes panel panel in a workbook.

Comments

Property value can be set from JSON or using the setSource method. It is returned by the getSource method.

Example

To execute the example, the HTML page must contain the WorkbookBox component named workbookBox (see Example of Creating the WorkbookBox Component). Get data source of attributes panel in the workbook:

       barView = workbookBox.getPropertyBarView();
       metaPanel = barView.getSerieAttributesPanel();
       metaPanel.getSource();

After executing the example the browser console displays an object of the PP.TS.WbkDocument type that is a data source for attributes panel.

See also:

MetaDataViewerPanel