正在编辑的单元格会触发EditChange事件,您可以监听此事件:在此事件中获取当前单元格row,col- activeSheet.bind(GC.Spread.Sheets.Events.EditChange, function (sender, args) {
- console.log("Cell (" + args.row + ", " + args.col + ") data has been changed.")
- });
复制代码 同时您还看可以参考单元格其他事件
https://demo.grapecity.com.cn/sp ... sheet-events/purejs
https://demo.grapecity.com.cn/sp ... s.Events#editchange
|