Jump to content
Changes to the Jaspersoft community edition download ×

How to hide the "Deatil 2" band in pdf export in jasper?


ashish.vidyayug

Recommended Posts

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

I don't know about dynamically doing this in Jasper. 

In the past when I needed a detailed and summary version of a report I would add a parameter that would control the presentation like $P{REPORT_TYPE}.   Depending on the value Summary/Detailed I would suppress/show different sections.

Print when expression for summary:

$P{REPORT_TYPE}.equalsIgnoreCase("Summary")[/code]

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...