Reputation: 223
I have an APEX Region, all columns of which are standard report columns. Is it possible to display a tool-tip on mouse over of a particular cell of the report?
I have 3 diff values for tat column it has to display different tooltip for all 3.
Ex: Column having values like aaa bbb ccc
if move mouse to aaa then tooltip text should be "xxx", if bbb then tooltip text should be "yyy", if ccc then tooltip text should be "zzz".
how can i perform this for column in regions.
Upvotes: 2
Views: 2848
Reputation: 143143
This is an example based on Scott's schema. The idea is: display DEPTNO from the EMP table, but - when you put mouse over it - display DNAME from the DEPT table.
select EMPNO,
ENAME,
JOB,
'<a title="' || d.dname || '">' || E.DEPTNO || '</a>' AS DEPTNO
from emp e join dept d on d.deptno = e.deptno
Upvotes: 1
Reputation: 335
You could achieve this by using the global HTML title attribute by:
and setting the HTML expression at "ColumnFormatting" => "HTML Expression" for the displayed column (called "DISPLAY" here) to:
<span title="#TOOLTIP#">#DISPLAY#'</span>
On hover of the text in your displayed column you should now see your tool-tip text.
Upvotes: 2