SpreadJS 13
GC.Spread.Sheets Namespace / Events type / ValueChanged Event
The sheet that triggered the event.
The sheet's name.
The row index of the cell.
The column index of the cell.
The old value of the cell.
The new value of the cell.
In This Topic
    ValueChanged Event
    In This Topic
    Occurs when the value in the subeditor changes.
    Syntax
    var instance; // Type: Events
    instance.ValueChanged = function(sheet, sheetName, row, col, oldValue, newValue) { };
    ValueChanged = function ( 
       sheet : Worksheet,
       sheetName : string,
       row : number,
       col : number,
       oldValue : Object,
       newValue : Object
    ) { };

    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.
    oldValue
    The old value of the cell.
    newValue
    The new value of the cell.
    Example
    This example uses the ValueChanged event.
    activeSheet.bind(GC.Spread.Sheets.Events.ValueChanged, function (e, info) {    
            alert("Value (" + info.newValue + ")");
    });
    See Also

    Reference

    Events type