SpreadJS Documentation
CellChanged Event
GC.Spread.Sheets Namespace > Events type : CellChanged Event
The sheet that triggered the event.
The sheet's name.
The row index of the cell.
The column index of the cell.
The sheetArea of the cell.
The name of the cell's property that has changed.
Occurs when a change is made to a cell in this sheet that may require the cell to be repainted.
Syntax
var instance; // Type: Events
instance.CellChanged = function(sheet, sheetName, row, col, sheetArea, propertyName) { };
CellChanged = function ( 
   sheet : Worksheet,
   sheetName : string,
   row : number,
   col : number,
   sheetArea : SheetArea,
   propertyName : string
) { };

Parameters

sheet
The sheet that triggered the event.
sheetName
The sheet's name.
row
The row index of the cell.
col
The column index of the cell.
sheetArea
The sheetArea of the cell.
propertyName
The name of the cell's property that has changed.
Example
This example uses the CellChanged event.
activeSheet.bind(GC.Spread.Sheets.Events.CellChanged, function (e, info) {
    if(info.sheetArea === GC.Spread.Sheets.SheetArea.viewport){
        alert("Cell index (" + info.row + "," + info.col + ")");
    }
});
See Also

Reference

Events type