Jump to content
Changes to the Jaspersoft community edition download ×

Show SubReport on click


Recommended Posts

By: Rajender - rajender_anand

Show SubReport on click

2006-02-08 09:48

I have created a Master which has hyperlinks in it. I want that on click of the hyperlink a value will be passed to the Subreport and it will show the SubReport. Otherwise No subreport should be displayed.

 

Thanks

Rajender

 

 

By: jasperkan - jasperkannan

RE: Show SubReport on click

2006-03-01 14:44

its easy. when the link is clicked resubmit the page with a flag and check the flag value in the printwhen expression of the subreport

 

ie

<subreport isUsingCache="true"> <reportElement isPrintWhenDetailOverflows="false">

<printWhenExpression><![CDATA[A==B]]></printWhenExpression>

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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...