Spread.Sheets
CellClick タイプ
ユーザーがセルの上でマウス左ボタンを押したときに発生します。
使用例
// 次のサンプルコードは、CellClickイベントを使用します。// IEを使用してログテキストをコンソールに表示します。 activeSheet.bind(GC.Spread.Sheets.Events.CellClick, function (sender, args) { if(args.sheetArea === GC.Spread.Sheets.SheetArea.colHeader){ console.log("The column header was clicked."); } if(args.sheetArea === GC.Spread.Sheets.SheetArea.rowHeader){ console.log("The row header was clicked."); } if(args.sheetArea === GC.Spread.Sheets.SheetArea.corner){ console.log("The corner header was clicked."); } console.log("Clicked column index: " + args.col); console.log("Clicked row index: " + args.row); }); // 連結 activeSheet.bind(GC.Spread.Sheets.Events.CellDoubleClick, function (sender, args) { if(args.sheetArea === GC.Spread.Sheets.SheetArea.colHeader){ console.log("The column header was double clicked."); } if(args.sheetArea === GC.Spread.Sheets.SheetArea.rowHeader){ console.log("The row header was double clicked."); } if(args.sheetArea === GC.Spread.Sheets.SheetArea.corner){ console.log("The corner header was double clicked."); } console.log("Double clicked column index: " + args.col); console.log("Double clicked row index: " + args.row); })
継承階層

Object
   GC.Spread.Sheets.Events.CellClick

関連トピック

参照

GC.Spread.Sheets.Events 名前空間

 

 


© 2016-2018, GrapeCity inc. All rights reserved.