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

    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.
    editor
    The current editor.
    editingText
    The value from the current editor.
    cancel
    A value that indicates whether the operation should be canceled.
    Example
    This example uses the EditEnding event.
    activeSheet.bind(GC.Spread.Sheets.Events.EditStarting, function (sender, args) {
        console.log("Start cell editing.");
    });
    
    activeSheet.bind(GC.Spread.Sheets.Events.EditEnding, function (sender, args) {
        console.log("EditEnding event.");
    });
    
    activeSheet.bind(GC.Spread.Sheets.Events.EditEnded, function (sender, args) {
        console.log("EditEnded event.");
    });
    See Also

    Reference

    Events type