Jump to content
Changes to the Jaspersoft community edition download ×

Possible to dynamically hide/show a subreport


Recommended Posts

By: Daren Drummond - darendrummond

Possible to dynamically hide/show a subreport

2003-06-11 10:16

Is it possible to dynamically hide or show a subreport based on a variable/field/parameter value in the subreport? We can pass parameters into the subreport, but is there a concept of an "out parameter"? If there is an out parameter construct, then the parent report could decide to hide or show the subreport based on a subreport out parameter value.

 

Does anyone know if its possible to dynamically hide or show a subreport during fill time? Thanks in advance.

 

 

 

 

By: Teodor Danciu - teodord

RE: Possible to dynamically hide/show a subre

2003-06-12 03:55

 

Hi,

 

Subreports can by displayed or not based on their

<printWhenExpression>.

 

But that means that you cannot hide them based

on a value that they are calculating themselfs.

By the time the report has returned some value,

it is already appearing on the document and cannot

be removed.

 

Thank you,

Teodor

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