Spread.Sheets Documentation
LeaveCell Event
GC.Spread.Sheets Namespace > Events type : LeaveCell Event
The sheet that triggered the event.
The sheet's name.
The row index of the cell being left.
The column index of the cell being left.
Whether the operation should be canceled.
Occurs when the focus leaves a cell.
Syntax
var instance; // Type: Events
instance.LeaveCell = function(sheet, sheetName, row, col, cancel) { };
LeaveCell = 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 the cell being left.
col
The column index of the cell being left.
cancel
Whether the operation should be canceled.
Example
This example creates log text for the LeaveCell event.
// Use IE to see the console log text
activeSheet.bind(GC.Spread.Sheets.Events.LeaveCell, function (sender, args) {
    console.log("The column index before moving: " + args.col);
    console.log("The row index before moving: " + args.row); 
});
See Also

Reference

Events type