EquationAutoFitPanel.setSource

Syntax

setSource (value);

Parameters

value. Sets a workbook.

Description

The setSource method specifies the workbook to display its data in the component.

Example

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

	console.log("Set the workbook, which data is displayed in the component");
	var value = args.Workbook;
	equationAutoFitPanel.setSource(value);

After executing the example, the workbook, whose data is shown in the exponential smoothing parameters autofit panel is selected, and the browser console displays an appropriate message.

See also:

EquationAutoFitPanel