SpreadJS Documentation
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.
Occurs when a cell leaves edit mode.
Syntax
var instance; // Type: Events
instance.EditEnded = function(sheet, sheetName, row, col, editingText) { };
EditEnded = function ( 
   sheet : Sheet,
   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(GcSpread.Sheets.Events.EditStarting, function (sender, args) {
    console.log("Start cell editing.");
});

activeSheet.bind(GcSpread.Sheets.Events.EditEnded, function (sender, args) {
    console.log("Finish cell editing.");
});
See Also

Reference

Events type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.