[]
▸ 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");
}
Name | Type | Description |
---|---|---|
host |
string | HTMLElement |
The host element or the host element id. |
The FormulaEditor instance.