SpreadJS 13
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.
Whether this event is from a undo operation.
In This Topic
    CellChanged Event
    In This Topic
    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, isUndo) { };
    CellChanged = function ( 
       sheet : Worksheet,
       sheetName : string,
       row : number,
       col : number,
       sheetArea : SheetArea,
       propertyName : string,
       isUndo : boolean
    ) { };

    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.
    isUndo
    Whether this event is from a undo operation.
    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