[]
▸ findControl(host
): FormulaTextBox
Gets the FormulaTextBox instance by the host element.
example
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");
}
Name | Type | Description |
---|---|---|
host |
string | HTMLElement |
The host element or the host element id. |
The FormulaTextBox instance.