Skip to Main Content

Java Development Tools

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!

ADF table: Conditional (based on column attribute) row format (ie color)

rade.todorovichNov 20 2015 — edited Nov 24 2015

JDeveloper 12.1.3

Looked at these forums but could not find applicable solution in 12c. Some threads contained old invalid links

So, what I am trying to do is to display adf table, where CERTAIN ENTIRE rows will have specified color. The row color depends on the column attribute value. So I tried to do it for every single column using EL:

inlineStyle="#{row.Overlap=='1'?'background-color:Red':'background-color:Green'}"

The result looks terrible, not entire table cell is colored.

issue11202015.jpg

I read somewhere to define CSS for the table but then how to use EL to apply it only to certain rows?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 21 2015
Added on Nov 20 2015
5 comments
1,617 views