[]
▸ 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 实例