SpreadJS Documentation
ValueChanged Event
The sheet that triggered the event.
The sheet's name.
The row index of the cell.
The column index of the cell.
Occurs when the value in the subeditor changes.
Syntax
var instance; // Type: Events
instance.ValueChanged = function(sheet, sheetName, row, col) { };
ValueChanged = function ( 
   sheet : Sheet,
   sheetName : string,
   row : number,
   col : number
) { };

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.
Example
This example uses the ValueChanged event.
$("#spreadContainer").data("spread").getActiveSheet().bind(GcSpread.Sheets.Events.ValueChanged, function (e, info) {    
        alert("Value (" + info.newValue + ")");
});
See Also

Reference

Events type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.