Workbook.getKeySerie

Syntax

getKeySerie (value);

Parameters

value. Sets series index value.

Description

The getKeySerie method returns series key by series index.

Example

To execute the example, the page must contain the WorkbookBox component named workbookBox (see Example of Creating the WorkbookBox Component), and also add the following code in the handler, that processes document opening event:

	//Get series index
	var index = wbk.getSeries()[0].index;
	//Get series key by index
	var key = wbk.getKeySerie(index);
	alert("Series key by index "+index +": "+ key);

After executing the example a message containing key of the series with specified index appears in the screen.

See also:

Workbook