Focal Point
[SOLVED] Display text when mouse over data

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/1067039176

July 29, 2014, 11:33 AM
Piter
[SOLVED] Display text when mouse over data
Hello

I have table with ID and NAME. I need to print ID and if I move mouse over ID, then NAME must become visible (something similar like if you go over some URL and then some text description of link may become visible)


I remember, that I have seen how to do it few year ago, but now do not remember even how to name that feature to look in documentation. Or I am mixing something and this is impossible/not simple?

Thank you in advance for your help

Piter

This message has been edited. Last edited by: <Kathryn Henning>,


Wf7704/WF8,Win64/32
July 29, 2014, 12:18 PM
Francis Mariani
The only way I can think of doing this is to use the title attribute of an html span tag, which means this can only be done for HTML reports and can only be done by coding - no GUI.

TABLE FILE EMPDATA
SUM
COMPUTE POPUP1/A100 = '<span title="' || FIRSTNAME || (' ' | LASTNAME) || '">' || PIN || '</span>'; AS 'ID'
TITLE
BY DIV
BY DEPT
END



Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
July 29, 2014, 12:21 PM
Francis Mariani
And you could change the type of cursor to indicate there is a pop up description:

TABLE FILE EMPDATA
SUM
COMPUTE POPUP1/A100 = '<span style="cursor: default;" title="' || FIRSTNAME || (' ' | LASTNAME) || '">' || PIN || '</span>'; AS 'ID'
TITLE
BY DIV
BY DEPT
END



Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
July 29, 2014, 12:36 PM
Piter
Thank you a lot - yes, this is method that I have ween some time ago. Thanks!


Wf7704/WF8,Win64/32