WbkDataView.getTitleView

Syntax

getTitleView ();

Description

The getTitleView method returns a component used to show workbook title.

Comments

It returns an instance of the EaxTitleView class.

Example

To execute the example, the page must contain the WbkDataBox component named wbkDataBox (see WbkDataBox Constructor), and also the following code must be added in the event handler that processes document opening:

//Get object for displaying workbook title (instance of the PP.Exp.Ui.EaxTitleView class)
var title = wbkDataBox.getTitleView();
//Display title
title.show();
//Get DOM node that contain element
var node = title.getDomNode();
//Set element background color as red
node.style.backgroundColor = "red";

After executing the example workbook title is shown , and red background color is set for the title.

See also:

WbkDataView