GcSpread.Sheets Namespace > Events type : PictureSelectionChanged Event |
var instance; // Type: Events instance.PictureSelectionChanged = function(sheet, sheetName, picture) { };
activeSheet.addPicture("f2","Event.png",2,2,6,6); activeSheet.addPicture("f1","tsoutline.png",3,0,6,6); // Use IE to see the console log text $("#spreadContainer").data("spread").getActiveSheet().bind(GcSpread.Sheets.Events.PictureSelectionChanged, function (e, info) { console.log("Sheet: " + info.sheetName); });