回复 3楼mountain2657的帖子
前台设置行背景色方法如下:
- <script type="text/javascript">
- function setRowsColor() {
- var spread = this.document.getElementById("FpSpread1")
- //设置单元格背景色
- var columnCount = spread.GetColCount();
- for (var i = 0; i < columnCount; i++) {
- spread.Cells(0, i).SetBackColor("Red");
- }
- }
- </script>
复制代码 |