Jump to content
Changes to the Jaspersoft community edition download ×

column size


Recommended Posts

There is an option to increase or decrease the height of the fields.

can it be done with the column width.i.e.,

i have a column name and its data in an aligned manner

say for example






John Abraham


Mark Twain Abraham Vincent


i have got borders for column name in static text and data in fields. Based upon the width of the data the width of the column should either increase or decrease

and vice versa. if only the mark twain ... name is to be displayed the widht of the field should be similar to the width of the text field. if the data is vijay the width should be automatically reduced .


please help

Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

thanks for the reply arbitary

i tried that and ofcourse its working fine. but it really looks awkward when that field size alone gets increased. the other fields of that row remain same.

i tired even stretch_with_relative_to_tallest_object (i suppose i am right). but its looking bad. particulary in the new page. i came to know that it is an disadvantage of jasper reports. no other way to sort it out?

Link to comment
Share on other sites

The property that I modify is different.


You select the column that should stretch, then right-click. This brings up the 'Properties' option. Click on it. There are multiple tabs at the top - go to the 'TextField' tab and check 'Stretch with overflow'.


I have just 1 field in my report that has enough data to wrap and the result is pretty decent looking. It increases the row height just enough to accomodate the data.

Link to comment
Share on other sites

  • 2 weeks later...

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