Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Dynamic image(Display image based on the column value)
Dynamic image [message #1692082] Mon, 13 April 2015 09:54 Go to next message
Jazz Chan is currently offline Jazz ChanFriend
Messages: 12
Registered: February 2015
Junior Member
I have a report, where I would like to displaying image(dynamic image name) based on the column value. so I inserted an image and select Image file in shared resources and put the following coding in link to image in shared resources with javascript. but no image will be displayed when the report openning?


if (row["bu"] == "GRC") { this.imageName = "images/GRC.jpg";} else if(row["bu"] == "KW") { this.imageName = "images/KW.jpg";} else if(row["bu"] == "TM") { this.imageName = "images/TM.jpg";}
Re: Dynamic image [message #1693141 is a reply to message #1692082] Wed, 22 April 2015 04:49 Go to previous messageGo to next message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

What is your BIRT version?

Michael

Developer Evangelist, Silanis
Re: Dynamic image [message #1693148 is a reply to message #1693141] Wed, 22 April 2015 05:39 Go to previous messageGo to next message
Jazz Chan is currently offline Jazz ChanFriend
Messages: 12
Registered: February 2015
Junior Member
the version is 4.4.2 and the problem has been fixed!
Re: Dynamic image [message #1693282 is a reply to message #1693148] Wed, 22 April 2015 20:55 Go to previous message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

Good to hear. Thanks for the update!

Michael

Developer Evangelist, Silanis
Previous Topic:How to change subtype of y axis 2?
Next Topic:Get Source-Code for the eBook "BIRT: A Field Guide, 3rd Edition"
Goto Forum:
  


Current Time: Thu Apr 25 22:48:12 GMT 2024

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

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

Back to the top