[]
        
(Showing Draft Content)

GC.Spread.Sheets.FormulaPanel

命名空间: FormulaPanel

Spread.Sheets.FormulaPanel

Table of contents

命名空间

接口

函数

Functions

findControl

findControl(host): FormulaEditor

通过宿主元素获取 FormulaEditor 实例

代码示例

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");
}

参数

属性名 类型 说明
host string | HTMLElement 宿主元素或宿主元素的ID

返回值

FormulaEditor

FormulaEditor 实例