Go Back   Forum - BIRT Exchange > Designing BIRT Reports Forums > Designing BIRT Reports

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-01-2009, 05:42 AM
Member
 
Join Date: Feb 2009
Posts: 45
Thumbs down Hiding Javascript when exporting to pdf

Hi,
Can anyone help me to hide javascript code when exporting to pdf.
My report is something like expand and collapse kind.I have written javascript code to achieve that functionality.
Now the problem is like.. when Iam exporting the report to pdf the javascript code is visible at that particular action.
Can somebody help me how to export the report without the javascript visible..
ASAP

Regards,
Madhu
Reply With Quote
  #2 (permalink)  
Old 07-01-2009, 09:51 AM
Senior Member
 
Join Date: Oct 2007
Posts: 480
Default

If you place your Javascript in a unique text control, you can then control the visibility properties on that text control for each kind of output.

Select the text control and have a look at Properties --> Visibility --> For Specific Outputs (it is a radio button)

Good Luck.
__________________
--Brian
http://www.twitter.com/brianhanley
Reply With Quote
  #3 (permalink)  
Old 07-01-2009, 11:47 PM
Member
 
Join Date: Feb 2009
Posts: 45
Default

hey,
I have tried the same thing.. to hide the visibility for output type=pdf.. but the entire row is being hidden..
im following the example frm this.. Expand and Collapse Report Group

pls help me
Reply With Quote
Reply


Thread Tools
Display Modes




All times are GMT -7. The time now is 10:08 AM.
Powered by vBulletin Copyright © 2000-2010 Jelsoft Enterprises Limited.


Content Relevant URLs by vBSEO 3.1.0