SpreadJS 13
GC.Spread.Sheets.FormulaTextBox Namespace / FormulaTextBox class / caret Method
The cursor position.
In This Topic
    caret Method
    In This Topic
    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