[]
        
(Showing Draft Content)

GC.Spread.Sheets.FormulaTextBox

命名空间: FormulaTextBox

Spread.Sheets.FormulaTextBox

Table of contents

接口

函数

Functions

findControl

findControl(host): FormulaTextBox

通过宿主元素获取公式文本框

代码示例

window.onload = function(){
     var spread = new GC.Spread.Sheets.Workbook(document.getElementById("ss"), { sheetCount: 1 });
     var rangeSelector = new GC.Spread.Sheets.FormulaTextBox.FormulaTextBox(document.getElementById("ftb"), {rangeSelectMode: true});
     rangeSelector.workbook(spread);
     var rangeSelectorInstance = GC.Spread.Sheets.FormulaTextBox.findControl("ftb");
}

参数

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

返回值

FormulaTextBox

公式文本框实例