SpreadJS Documentation
Using Events when Data Changes

You can use events when the data in a cell changes.

Using Code

This example uses the EditChange event.

JavaScript
Copy Code
var spread = new GcSpread.Sheets.Spread($("#ss").get(0),{sheetCount:3});
var activeSheet = spread.getActiveSheet();

activeSheet.bind(GcSpread.Sheets.Events.EditChange, function (sender, args) {
    console.log("Cell (" + args.row + ", " + args.col + ") data has been changed.")
});

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.