SpreadJS Documentation
caret Method
GC.Spread.Sheets.FormulaTextBox Namespace > FormulaTextBox class : caret Method
The cursor position.
Gets or sets the cursor position.
Syntax
var instance = new GC.Spread.Sheets.FormulaTextBox.FormulaTextBox(host, options);
var returnValue; // Type: number
returnValue = instance.caret(value);
function caret( 
   value : number
) : number;

Parameters

value
The cursor position.

Return Value

If no value is set, returns the cursor position; otherwise, there is no return value.
See Also

Reference

FormulaTextBox class