SpreadJS Documentation
EnterCell Event
The sheet that triggered the event.
The sheet's name.
The row index of the cell being entered.
The column index of the cell being entered.
Occurs when the focus enters a cell.
Syntax
var instance; // Type: Events
instance.EnterCell = function(sheet, sheetName, row, col) { };
EnterCell = function ( 
   sheet : Sheet,
   sheetName : string,
   row : number,
   col : number
) { };

Parameters

sheet
The sheet that triggered the event.
sheetName
The sheet's name.
row
The row index of the cell being entered.
col
The column index of the cell being entered.
Example
This example uses the EnterCell event.
$("#spreadContainer").data("spread").getActiveSheet().bind(GcSpread.Sheets.Events.EnterCell, function (e, info) {    
        alert("Cell (" + info.row + ", " + info.col +")");
});
See Also

Reference

Events type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.