How to remove space among columns when a field is hidden?



I have the report which gets displayed on parameters and I want to print a field when paramtere is "some".

I can hide the field using "Print when expression" but I am not able to remove the space of that field. Can anyone tell me how can I do this?


rubamushtaq's picture
Joined: Nov 13 2012 - 8:37pm
Last seen: 6 years 10 months ago

1 Answer:


Which version of jasper? In iReport 4.0.0 and later you may use Table and set "Column print when" condition. In this case all values on column will be hidden, and others columns shift left (there is no empty space).

sanbez's picture
Joined: Jan 11 2011 - 2:06am
Last seen: 21 hours 23 min ago
I am using version 3.7.0.
rubamushtaq - 7 years 3 months ago
Upgrade this. You lose a lot of functionality, staying in the old version
sanbez - 7 years 3 months ago

I am afraid I cannot do this. I have to make my reports with that version.

rubamushtaq - 7 years 3 months ago