ExpressView.setTitle

Syntax

setTitle(name, columnIndex, rowIndex);

Parameters

name. Title name.

columnIndex. Index of column that contains the icon.

rowIndex. Index of the icon row.

Description

The setTitle method sets title on the Header panel included into the express report sidebar.

Example

Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Then set a new title on the Header panel included into the express report sidebar:

// Set a new title with icon
expressBox.setTitle("New document", 1, 1);
// Refresh all express report elements including title
expressBox.refreshAll();

After executing the example the title text shows New document, and the title has the specified icon:

See also:

ExpressView