[]
        
(Showing Draft Content)

GC.Spread.Sheets.FormulaTextBox

Namespace: FormulaTextBox

Spread.Sheets.FormulaTextBox

Table of contents

Classes

Interfaces

Functions

Functions

findControl

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

Parameters

Name Type Description
host string | HTMLElement The host element or the host element id.

Returns

FormulaTextBox

The FormulaTextBox instance.