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 text to image/icon on Link column of IR

Hello,

I have an interactive report. It has a column as 'ALLOWED_VALUES'. This column either has a plain text or link on certain rows. Column type is link.

And my css is as follows. col_ir is static id of my interactive report. data-content is link attribute.

#col_ir a {
text-decoration: none;
pointer-events: none;
color: black;
font-weight: 400;
}

#col_ir a[data-content="ALLOWED_VALUES"] {
text-decoration: underline;
pointer-events: stroke;
color: blue;
font-weight: 600;
}

My output looks like this.

As seen above I have link only on certain rows. my sql query for this column is as below.

CASE WHEN C.COLUMN_NM IS NULL THEN B.ALLOWED_VALUES
ELSE 'ALLOWED_VALUES' END ALLOWED_VALUES

Everything works as expected. But I want the link to display an icon instead of ALLOWED_VALUES as text.

Could any one please tell me how to achieve that.

Thanks!

This post has been answered by InoL on Jul 13 2024
Jump to Answer
Comments
Post Details
Added on Jul 12 2024
8 comments
590 views