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 show/hide cell with button-link in interactive report (IR) depends on value in column?

Adrian_StarJan 17 2023

Hi,
I am using APEX 21.2. I have a table with an interactive report, where I would like, depending on the value returned by the first 'ROLE' column, to make the cell value visible or invisible in the second 'LINK' column (which contains the link-button) depending on the selection made.

The 'ROLE' column contains information about the roles: USER, ADMIN.
The 'LINK' column contains a button-link for adding permissions. The link-button has its additional parameters in the attributes of the column properties, i.e. Link Text, Link Attributes and CSS styles).

Example of use:
If the user in the row has the role: USER, the link-button in the 'LINK' column should be visible/active.
If the user in the row has the role: ADMIN, the link-button in the 'LINK' column should be hidden/invisible/inactive.
As shown below:
a1.png

This post has been answered by fac586 on Jan 17 2023
Jump to Answer
Comments
Post Details
Added on Jan 17 2023
5 comments
1,986 views