SpreadJS Documentation
startEdit Method
Set to true to select all the text in the cell.
The default text to display while editing the cell.
Starts to edit the cell.
Syntax
var instance = new GcSpread.Sheets.Sheet(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

Sheet type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.