GC.Spread.Sheets Namespace > Events type : DragDropBlock Event |
var instance; // Type: Events instance.DragDropBlock = function(sheet, sheetName, fromRow, fromCol, toRow, toCol, rowCount, colCount, copy, insert, copyOption, cancel) { };
// Use IE to see the console log text var activeSheet = spread.getActiveSheet(); activeSheet.bind(GC.Spread.Sheets.Events.DragDropBlock, function (e, args) { console.log("From Column:" + args.fromCol); console.log("From Row:" + args.fromRow); console.log("To Column:" + args.toCol); console.log("To Row:" + args.toRow); });