Skip to main content



      Home
Home » Archived » BIRT » Table cell tooltip
Table cell tooltip [message #1019295] Fri, 15 March 2013 07:42 Go to next message
Eclipse UserFriend
Hi All,
there is a possibility to insert a tooltip on onmouseover on a table cell with a datasetrow data?
Thanks
Re: Table cell tooltip [message #1019552 is a reply to message #1019295] Fri, 15 March 2013 20:41 Go to previous messageGo to next message
Eclipse UserFriend
I don't know how well it works for an entire cell, but you can make the data element or whatever inside of it have an onhover tooltip, using the onCreate script and the items helpText :
this.helpText = this.getRowData().getColumnValue("ly_revenue");

getColumnValue is the column name of the data element, if you are referencing a different item then itself (say a hidden one). If you are refrencing it's own value you could more simply say :
this.helpText = this.getValue();


It works fine in a regular table, not so well in a crosstab. I've been trying to figure out how to get it working in a crosstab (showing a different data value) for a while.

[Updated on: Fri, 15 March 2013 20:42] by Moderator

Re: Table cell tooltip [message #1019855 is a reply to message #1019552] Sat, 16 March 2013 17:59 Go to previous messageGo to next message
Eclipse UserFriend
Thanks for you reply!
Re: Table cell tooltip [message #1021540 is a reply to message #1019552] Wed, 20 March 2013 05:41 Go to previous messageGo to next message
Eclipse UserFriend
Hi,
i test you script and works, but i have a problem; i would see a tooltip with this html rich text:
<P align=left>Example Example <STRONG>Example Example Example Example Example Example Example Example Example Example Example Example</STRONG> Example Example Example Example Example Example Example Example Example Example Example Example.<BR><EM><U>Example Example Example Example Example Example Example Example Example Example Example Example Example Example</U></EM> Example<FONT size=3> Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example</FONT> Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example.<BR><FONT style="BACKGROUND-COLOR: #99cc00">Example Example Example Example Example</FONT> Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example <FONT color=#ff0000>Example Example Example Example Example Example Example Example Example Example Example</FONT> Example Example Example; Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example!<BR>Example Example <FONT color=#ff0000>Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example.<BR></FONT>Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example<FONT style="BACKGROUND-COLOR: #00ffff"> Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example</FONT> Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example </P>

If i put this in a "dynamic text" i see the correct formatted text, but in a tooltip i see the simple text with all tag.
There is a possibility to see also in tooltip the formatter text?
Thanks
Re: Table cell tooltip [message #1292558 is a reply to message #1019552] Fri, 11 April 2014 18:52 Go to previous message
Eclipse UserFriend
You can refer to a dataset dimension directly. I've just this.helpText = dimension["Promotion"]["content"]; and it worked.
Previous Topic:How to programmatically instanciate a unique data source ?‏
Next Topic:Using MS Report Server shared data source in BIRT
Goto Forum:
  


Current Time: Wed Jul 23 07:36:04 EDT 2025

Powered by FUDForum. Page generated in 0.04463 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top