不客气。
请参考这篇API文档:Using Events when Edit Mode Starts or Stops
- $("#ss").wijspread();
- var spread = $("#ss").wijspread("spread");
- var activeSheet = spread.getActiveSheet();
- activeSheet.bind($.wijmo.wijspread.Events.EditStarting, function (sender, args) {
- console.log("Start cell editing.");
- });
- activeSheet.bind($.wijmo.wijspread.Events.EditEnded, function (sender, args) {
- console.log("Finish cell editing.");
- });
复制代码 |