GC.Spread.Sheets 名前空間 > Events タイプ : DragDropBlock イベント |
Javascript (Usage) | |
---|---|
var instance; // Type: Events instance.DragDropBlock = function(sheet, sheetName, fromRow, fromCol, toRow, toCol, rowCount, colCount, copy, insert, copyOption, cancel) { }; |
Javascript (Specification) | |
---|---|
DragDropBlock = function ( sheet : Worksheet, sheetName : string, fromRow : number, fromCol : number, toRow : number, toCol : number, rowCount : number, colCount : number, copy : boolean, insert : boolean, copyOption : CopyToOptions, cancel : boolean ) { }; |
// 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); });