数据窗口类型:grid
如何动态改变某一单元格 颜色 如:dw_1的第2行,第3列,颜色为黑色。
------解决方案--------------------
改变第三列的颜色属性值
int li_col=3,li_row=2
this.modify("#" + string(li_col) + ".color='0~tif(getrow()=" + string(li_row) + ",rgb(0,0,0),rgb(255,0,0))'"
------解决方案--------------------
[email protected]
[email protected]
已经将示例发至邮箱,请查收