回复 1楼chcchb的帖子
请尝试以下代码:
- <script type="text/javascript">
- window.onload = function () {
- var columnHeader = this.document.getElementById("FpSpread1_cht");
- var row = columnHeader.rows[0];
- var length = row.cells.length;
- var cell = row.cells[length - 1];
- cell.style.backgroundColor = "Green";
- }
- </script>
复制代码 |