17 评论

技术改变世界

仅仅改变字体颜色,结果会把原来设置的字体倾斜丢失掉,这是为什么啊?也太不合理了吧
_g().getWidgetByName('REPORT102').getCell(2,1).setStyle({
color: '#505495'
});

0 2023-05-05 10:58

Catqiu

您可以在Style中写再添加一个字体倾斜的设置

0 2023-07-13 09:33

yzm7YB7R1078299

背景设置没有放出来,是故意的吗?

1 2023-04-21 23:35

Catqiu

单元格背景可参考:鼠标点击/悬浮时修改单元格背景接口-https://help.fanruan.com/finereport/doc-view-4301.html

0 2023-07-13 09:33

chuxuezhe03

设置背景颜色怎么设置?用backgroundcolor 没效果

1 2023-03-27 16:07

Catqiu

单元格背景可参考:鼠标点击/悬浮时修改单元格背景接口-https://help.fanruan.com/finereport/doc-view-4301.html

0 2023-07-13 09:33

Yuna

咋没设置背景颜色的写法

1 2023-03-17 09:27

TW

你好,定义单元格背景色:background: 'red'

0 2023-05-31 19:55

两千乱渣

没用

0 2023-06-07 10:34