[英]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.