Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Designing Analytics Reports
how to get image file name of dynamic image taken from data set
Migrateduser
<p>Hello,</p><p> </p><p>At first I have to mention that I am new at Java Script and birt report designer. What I am trying to do is to modify an existing layout by hiding rows if a specific image is found in indicated cell. Image source is taken from dataset. Please see the attached file.</p><p> </p><p>Hence I would like to add following lines to onCreate event of image object. Row hiding works without any condition but I could not get the name of image file.</p><p> </p><p>It would be great if anybody could help.</p><p> </p><p> </p><p>
onCreate
</p><p> </p><p><strong class='bbc'>if</strong> (<strong class='bbc'>this</strong>.?? == "r_outadd_ov.gif") //comparison method may change?</p><p><strong class='bbc'>this</strong>.getParent().getParent().getStyle().display = "none" //(Row<--Cell<--Image)</p><p> </p><p>
</p><p> </p><p> </p><p> </p><p> </p>
Find more posts tagged with
Comments
There are no comments yet