Spread.Sheets Documentation
EditStarting Event
GC.Spread.Sheets Namespace > Events type : EditStarting Event
The sheet that triggered the event.
The sheet's name.
The row index of cell.
The column index of cell.
A value that indicates whether the operation should be canceled.
Occurs when a cell is entering edit mode.
Syntax
var instance; // Type: Events
instance.EditStarting = function(sheet, sheetName, row, col, cancel) { };
EditStarting = function ( 
   sheet : Worksheet,
   sheetName : string,
   row : number,
   col : number,
   cancel : boolean
) { };

Parameters

sheet
The sheet that triggered the event.
sheetName
The sheet's name.
row
The row index of cell.
col
The column index of cell.
cancel
A value that indicates whether the operation should be canceled.
Example
This example creates log text for the EditStarting and EditEnd events.
// Use IE to see the console log text
var activeSheet = spread.getActiveSheet();

activeSheet.bind(GC.Spread.Sheets.Events.EditStarting, function (sender, args) {
    console.log("Start cell editing.");
});

activeSheet.bind(GC.Spread.Sheets.Events.EditEnded, function (sender, args) {
    console.log("Finish cell editing.");
});
See Also

Reference

Events type