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

Hide a column in jasper Report But should adjust with next column


mohammed.sardar

Recommended Posts

Hi All,

If I have 4 columns say COL1 COL2 COL3 COL4

I want to hide the column COL3 based on a parameter passed from Java.  But It should not create a space between the columns COL2 & COL4. I'm not sure what concept shall I use for this but would be very helpful if someone could help on this please. Ofcourse I do use the PrintWhenExpression from Properties Window in order to hide the column.But the thing is we need to avoid the extra space.

COL1 | COL2 |       | COL4 => In this if I hide the COL3 there is a space created between 2 & 4. I should omit the space. Hope I have requested the information as much as I can. If any one have idea then please share with me. Thanks.

Kind Regards

Mohammed

 

Link to comment
Share on other sites

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

 

Thanks. But in this case I have 4 sub-reports on the master report. I have the other three reports on the other details bands. Actually I have Detail 1 , Detail 2 , Detail 3 & Detail 4. If I use this report alone on the summay band will be printed first on the summay band and then the other detail bands will be printed. 

I'm changing now and let you know how it goes ...

 

 

 

Thanks

 

 

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