WbkDocument.getSheetName

Syntax

getSheetName (value);

Parameters

value. Sets sheet key or identifier.

Description

The getSheetName method returns sheet name by its key or identifier.

Example

To execute the example, create a service to work with time series, get a workbook instance from the time series database, and determine key of the active sheet (see WbkDocument.ActiveSheetKey) and add the following code in the handler that processes document opening:

	var sheetName = wbkDocument.getSheetName(sheetKey);
	console.log("sheet name");
	console.log(sheetName);

After executing the example, name of the workbook sheet is shown in the browser console:

sheet name

Sheet1

See also:

WbkDocument