Variable width and/or height in JasperReports tables?

1

Greetings,

I'm having some trouble configuring a table component in a JasperReport. My goal is to have cells in a column change either their width or their height depending on the size of their content?

I'm looking at the "Stretch Type" property. However this doesn't appear to be what I want.

Any suggestions?

Peter

 

spierepf's picture
Joined: Jun 8 2012 - 6:41am
Last seen: 5 years 10 months ago

1 Answer:

2

Hi,

Try to use textfields with isStretchWithOverflow=true in your table cells.

Additional information about element stretching can be found here.

Regards,

sanda

shertage's picture
1950
Joined: Sep 26 2006 - 8:06pm
Last seen: 3 days 13 hours ago
Feedback