Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

工程内的表格单元格样式设置不起作用 #23

Closed
helloworld88888888 opened this issue May 11, 2020 · 1 comment
Closed

工程内的表格单元格样式设置不起作用 #23

helloworld88888888 opened this issue May 11, 2020 · 1 comment

Comments

@helloworld88888888
Copy link

在列初始化时设置单元格样式:
cellStyle:function(value,row,index){
if (value=="11"){
return { css: { "background-color": "#00E400" } };
}else {
return { css: { "background-color": "#7E0023" } };
}
}
在工程外单独的测试页面中可以按值设置背景颜色,但在本项目中设置不起作用。
工程外:
正常

本项目:
背景色不起作用

@liukuo362573
Copy link
Owner

谢谢反馈,问题已修复,background-color被覆盖了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants