Spread.Sheets Documentation
ClipboardChanged Event
GC.Spread.Sheets Namespace > Events type : ClipboardChanged Event
The sheet that triggered the event.
The sheet's name.
The data from Spread.Sheets that has been set into the clipboard.
Occurs when a Clipboard change occurs that affects Spread.Sheets.
Syntax
var instance; // Type: Events
instance.ClipboardChanged = function(sheet, sheetName, copyData) { };
ClipboardChanged = function ( 
   sheet : Worksheet,
   sheetName : string,
   copyData : Object
) { };

Parameters

sheet
The sheet that triggered the event.
sheetName
The sheet's name.
copyData
The data from Spread.Sheets that has been set into the clipboard.
Example
This example uses the ClipboardChanged event.
// Use IE to see the console log text
var activeSheet = spread.getActiveSheet();

activeSheet.bind(GC.Spread.Sheets.Events.ClipboardChanged, function (sender, args) {
    console.log("ClipboardChanged.");
});

activeSheet.bind(GC.Spread.Sheets.Events.ClipboardChanging, function (sender, args) {
    console.log("ClipboardChanging");
});

activeSheet.bind(GC.Spread.Sheets.Events.ClipboardPasted, function (sender, args) {
    console.log("ClipboardPasted");
});

activeSheet.bind(GC.Spread.Sheets.Events.ClipboardPasting, function (sender, args) {
    console.log("ClipboardPasting");
});
Remarks
Parameter Type Description
sheet GC.Spread.Sheets.Worksheet The sheet that triggered the event.
sheetName string The sheet's name.
copyData Object The data from Spread.Sheets that has been set into the clipboard.
copyData.text string The text string of the clipboard.
copyData.html string The html string of the clipboard.
See Also

Reference

Events type