SpreadJS Documentation
SelectionChanged Event
The sheet that triggered the event.
The sheet's name.
Occurs when the selection of cells on the sheet has changed.
Syntax
var instance; // Type: Events
instance.SelectionChanged = function(sheet, sheetName) { };
SelectionChanged = function ( 
   sheet : Sheet,
   sheetName : string
) { };

Parameters

sheet
The sheet that triggered the event.
sheetName
The sheet's name.
Example
This example uses the SelectionChanged event.
$("#spreadContainer").data("spread").getActiveSheet().bind(GcSpread.Sheets.Events.SelectionChanged, function (e, info) {    
        alert("Name (" + info.sheetName + ")");
});
See Also

Reference

Events type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.