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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Dynamically color a row based on a hidden column

Z NNov 26 2024

Hi everyone -

I've got a column (ColA) that returns a Y/N value. I do not want to show ColA as part of my table.

Something like this:
--
ColB | ColC | ColD

stuff and things

--

But if the value of ColA is Y then I want to color the enter row yellow. Again - I don't want to see ColA.

Here's a scenario if it helps

  1. Head to a website
  2. Look up employees
  3. If the SSN starts with 123 then color the row blue.
  4. Because the SSN is PII, we don't want to display the actual SSN.

I understand how to do it if the row is visible but because, in this case, I do not… is there a way to do this? I can do this easily in PHP, but as we're transitioning from PHP

Comments
Post Details
Added on Nov 26 2024
2 comments
64 views