SpreadJS 13
GC.Spread.Sheets Namespace / Worksheet type / startEdit Method
Set to true to select all the text in the cell.
The default text to display while editing the cell.
In This Topic
    startEdit Method
    In This Topic
    Starts to edit the cell.
    Syntax
    var instance = new GC.Spread.Sheets.Worksheet(name);
    var value; // Type: any
    value = instance.startEdit(selectAll, defaultText);
    function startEdit( 
       selectAll : boolean,
       defaultText : string
    ) : any;

    Parameters

    selectAll
    Set to true to select all the text in the cell.
    defaultText
    The default text to display while editing the cell.
    Example
    This example uses the startEdit method.
    activeSheet.setActiveCell(5,5);
    activeSheet.startEdit(true, "Test");
    See Also

    Reference

    Worksheet type