merry_jing 你好,请使用以下方法设置:- <script language="javascript" type="text/javascript" id="FpSpread1_Script0">
- function FpSpread1_EditStopped(event){
- //Add code to handle your event here.
- var activecol = FpSpread1.ActiveCol;
- var activerow = FpSpread1.ActiveRow;
- var cell = FpSpread1.GetCellByRowCol(activerow, activecol);
- cell.bgColor = "red";
- }
- </script>
复制代码 |