TSService.WbkDocumentOpened

Syntax

WbkDocumentOpened: function (sender, args);

Parameters

sender. Event source.

args. Event information.

Description

The WbkDocumentOpened event is fired on opening workbook document.

Example

To execute the example, create a service for working with time series (see TSService.getSetSortSettings) and add the following code in the handler that processes document opening:

	// Add a document load event handler
	console.log("Generate document load event");
	tsService.WbkDocumentOpened.fire(tsService,{});

After executing the example the event of data source name loading is called, and the browser console displays the following message:

Generating document loading event

See also:

TSService