Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to change the background color of oracle apex classic report on based on condition

Pankaj Kumar MandalApr 25 2014 — edited Apr 29 2014

I am working oracle apex 4.2 environment, where I am developing report, in which I wan to implement the color of row should change according to column value.

For example I was working with below query

select

case

when sal > 1000 then

'<span style=background-color:red>'

else

'<span style=background-color:green>'

end,

"EMPNO",

"ENAME",

"JOB",

"MGR",

"HIREDATE",

"SAL",

"COMM",

"DEPTNO"

from EMP

But it was not able to change the color of the row. Please guide me.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 27 2014
Added on Apr 25 2014
12 comments
10,577 views