Ewa.EwaControl Methods

Last modified: October 03, 2012

Applies to: apps for SharePoint | Excel Services | SharePoint Server 2013

Table 1 lists the methods of the Ewa.EwaControl Object class.

Events are prefixed with add_ for adding events. Events are prefixed with remove_ for removing events.

Table 1. Methods of the Ewa.EwaControl class

Name

Description

Ewa.EwaControl.add_activeCellChanged(function)

Subscribes an event handler to the activeCellChanged event.

Ewa.EwaControl.remove_activeCellChanged(function)

Unsubscribes an event handler from the activeCellChanged event.

Ewa.EwaControl.add_activeSelectionChanged(function)

Subscribes an event handler to the activeSelectionChanged event.

Ewa.EwaControl.remove_activeSelectionChanged(function)

Unsubscribes an event handler from the activeSelectionChanged event.

add_commitCellEditing(function)

Subscribes an event handler to the [commitCellEditing] event.

Ewa.EwaControl.remove_commitCellEditing(function)

Unsubscribes the specified event handler from the [commitCellEditing] event.

Ewa.EwaControl.add_enteredCellEditing(function)

Subscribes an event handler to the enteredCellEditing event.

Ewa.EwaControl.remove_enteredCellEditing(function)

Unsubscribes an event handler from the enteredCellEditing event.

Ewa.EwaControl.add_workbookChanged(function)

Subscribes an event handler to the workbookChanged event.

Ewa.EwaControl.remove_workbookChanged(function)

Unsubscribes an event handler from the workbookChanged event.

Ewa.EwaControl.add_gridSynchronized(function)

Subscribes an event handler to the gridSynchronized event.

Ewa.EwaControl.remove_gridSynchronized(function)

Unsubscribes an event handler from the gridSynchronized event.

Ewa.EwaControl.getActiveWorkbook()

Gets the active workbook.

Ewa.EwaControl.getBrowserUdfs()

Gets the Ewa.BrowserUdfs Object associated with the specified Ewa.EwaControl Object.

Ewa.EwaControl.getDomElement()

In Web Part mode, gets the root-level DOM element (HTTPDivElement) for the Excel Services Web Part.

Ewa.EwaControl.getInstances()

Gets the EwaControlCollection with EwaControl instances that can be used.

Ewa.EwaControl.add_applicationReady(function)

Subscribes an event handler to the applicationReady event.

Ewa.EwaControl.remove_applicationReady(function)

Unsubscribes an event handler from the applicationReady event.

Ewa.EwaControl.loadEwaAsync(fileID, divID, embedOptions, callback, userContext)

Embeds a Microsoft Excel workbook in a <div> element on a host web page.

Show: