ilixiaojun 你好,
可以触发 Spread 前台事件 ActiveCellChanged ,详细用法请参考帮助文档,测试代码:
- <script language="javascript" type="text/javascript" id="FpSpread1_Script0">
- function FpSpread1_ActiveCellChanged(event){
- var activeCell = FpSpread1.GetCellByRowCol(FpSpread1.ActiveRow, FpSpread1.ActiveCol);
- activeCell.bgColor = "red";
- }
- </script>
复制代码 |