Spread.Sheets Documentation
endEdit Method
GC.Spread.Sheets Namespace > Worksheet type : endEdit Method
If set to true, does not apply the edited text to the cell.
Stops editing the active cell.
Syntax
var instance = new GC.Spread.Sheets.Worksheet(name);
var value; // Type: boolean
value = instance.endEdit(ignoreValueChange);
function endEdit( 
   ignoreValueChange : boolean
) : boolean;

Parameters

ignoreValueChange
If set to true, does not apply the edited text to the cell.

Return Value

true when able to stop cell editing successfully; otherwise, false.
Example
This example removes the text "123" when typing in a cell.
activeSheet.bind(GC.Spread.Sheets.Events.EditChange, function (sender,args) {
                if (args.editingText === "123") {
                    activeSheet.endEdit(true);
                }
            });
See Also

Reference

Worksheet type