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!

Apex 3.2 - Conditional table cell (td) attributes in report

user599560Apr 18 2011 — edited Apr 19 2011
I would like to apply conditional attributes (notably color, but potentially others like NOWRAP) to table cells in a report.

For example:

- If COLUMN_HEADER is 'COLOR' and value = 'G', color the background for this cell (and only this cell) Green.
- If COLUMN_HEADER is 'IMPORTANT' add NOWRAP, otherwise do not.

I'm aware that in the template editor under 'Before Each Row' I can create conditions for the td, based off of values of a column, however this applies to the whole row not individual cells. I've also seen the example of creating 'hidden' columns with the attribute in the query, but this would still apply to the entire row.

Is there a way I can control the individual cells to this level of granularity?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 17 2011
Added on Apr 18 2011
8 comments
4,390 views