I have a grid with the query:
select EMPNO,
ENAME,
JOB,
MGR,
HIREDATE,
SAL,
COMM,
DEPTNO,
LINK,
CASE WHEN ENAME = 'KING' THEN 'N' ELSE 'Y' END as SHOW_BUTTON
from EMP
The link column has these attributes:
{if SHOW_BUTTON/}
<button type="button" data-empno="&EMPNO!ATTR."
class="increase-salary-Button t-Button t-Button--icon t-Button--warning t-Button--iconLeft"><span aria-hidden="true" class="t-Icon t-Icon--left fa fa-arrow-circle-up"></span>My Button</button>
{endif/}
This solution was suggested in one of my previous questions and it worked well..
Oracle APEX conditionally show button in IG row
I want to add another condition where instead of the html button, when its hidden text should display..
Ex: when the increase-salary button doesn’t show, the text: ‘In Process’ should display.
How can this be achieved?