[英]Change column color in Oracle apex
首先,我建议使用CSS。 如果您不喜欢CSS,请直接进入我的答案中的IR部分
th:nth-child(even),
td:nth-child(even){
background-color: red !important
}
要么
th:nth-child(2),
td:nth-child(2) {
background-color: red !important
}
th:nth-child(4),
td:nth-child(4) {
background-color: blue !important
}
要么
th#C152380905075548116,
td[headers="C152380905075548116"] {
background-color: red !important;
}
th#C152381026269548117,
td[headers="C152381026269548117"] {
background-color: blue !important;
}
其中C152380905075548116
和C152381026269548117
是应替换的列ID。
如果您确实需要使用本机IR功能,则应遵循3个步骤:
例如:
select
...
VALUE1||'<span style="display: none">red</red>' as Artikl
VALUE2||'<span style="display: none">blue</red>' as "Broj gresaka"
..
from
..
Actions > Format > Highlight
名称=红色背景(Artikl)
顺序=顺序
启用=是
高光类型=单元格
背景颜色=#FF7755
文字颜色=空
列= Artikl
运算符=包含
表情=红色
和
名称=蓝色背景(Broj gresaka)
顺序=顺序
启用=是
高光类型=单元格
背景颜色=#99CCFF
文字颜色=空
列= Artikl
运算符=包含
表情=蓝色
Security > Escape special characters
为“ No
这不是完美的解决方案,但它可以工作:-)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.