[]
        
(Showing Draft Content)

GC.Spread.Sheets.FormulaPanel

Namespace: FormulaPanel

Spread.Sheets.FormulaPanel

Table of contents

Namespaces

Classes

Interfaces

Functions

Functions

findControl

findControl(host): FormulaEditor

Gets the FormulaEditor instance by the host element.

example

window.onload = function(){
     var spread = new GC.Spread.Sheets.Workbook(document.getElementById("ss"));
     var formulaEditor = new GC.Spread.Sheets.FormulaPanel.FormulaEditor(document.getElementById("fe"));
     formulaEditor.workbook(spread);
     var formulaEditorInstance = GC.Spread.Sheets.FormulaPanel.findControl("fe");
}

Parameters

Name Type Description
host string | HTMLElement The host element or the host element id.

Returns

FormulaEditor

The FormulaEditor instance.