Spread.Sheets Documentation
SelectionChanged Event
The sheet that triggered the event.
The sheet's name.
The old selection ranges.
The new selection ranges.
Occurs when the selection of cells on the sheet has changed.
Syntax
var instance; // Type: Events
instance.SelectionChanged = function(sheet, sheetName, oldSelections, newSelections) { };
SelectionChanged = function ( 
   sheet : Worksheet,
   sheetName : string,
   oldSelections : undefined,
   newSelections : undefined
) { };

Parameters

sheet
The sheet that triggered the event.
sheetName
The sheet's name.
oldSelections
The old selection ranges.
newSelections
The new selection ranges.
Example
This example uses the SelectionChanged event.
activeSheet.bind(GC.Spread.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.