Jump to content
We've recently updated our Privacy Statement, available here ×

Suppress Section


anwer012

Recommended Posts

I am new to jasper ireports. I am trying to suppress one section depends on the parameter value which comes in.

for eg: if parameter value is "A" then i will be suppressing Section Column Header otherwise i will suppressing other sections.

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

I found it by myself.

 

--To suppress a section

new Boolean($P{SUBREPORT_DIR}.equals("222"))

 

here what i am doing is : I am supressing my section or band depends on the input parameter SUBREPORT_DIR if it = 222 then i am supressing section/band otherwise it will be visible.

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