SpreadJS 13
GC.Spread.Sheets Namespace / Events type / EditEnded Event
The sheet that triggered the event.
The sheet's name.
The row index of cell.
The column index of cell.
The value from the current editor.
In This Topic
    EditEnded Event
    In This Topic
    Occurs when a cell leaves edit mode.
    Syntax
    var instance; // Type: Events
    instance.EditEnded = function(sheet, sheetName, row, col, editingText) { };
    EditEnded = function ( 
       sheet : Worksheet,
       sheetName : string,
       row : number,
       col : number,
       editingText : Object
    ) { };

    Parameters

    sheet
    The sheet that triggered the event.
    sheetName
    The sheet's name.
    row
    The row index of cell.
    col
    The column index of cell.
    editingText
    The value from the current editor.
    Example
    This example creates log text for the EditStarting and EditEnded events.
    // Use IE to see the console log text
    var activeSheet = spread.getActiveSheet();
    
    activeSheet.bind(GC.Spread.Sheets.Events.EditStarting, function (sender, args) {
        console.log("Start cell editing.");
    });
    
    activeSheet.bind(GC.Spread.Sheets.Events.EditEnded, function (sender, args) {
        console.log("Finish cell editing.");
    });
    See Also

    Reference

    Events type