Default behaviour of JasperReport with long string is cut by accord to element length. You can change this behaviour by set
"Stretch With Overflow" to
True.
|
Picture 1: Set property for wrap long string. |
This solution will bring to ugly result: wrapped element will excel among all
neighboring elements:
|
Picture 2: Not suitable wrap. |
If such behaviour is not suitable you can fix it in simple way.
For all element in row you must set "Stretch Type" to "Relative to Tallest Object"
|
Picture 3: Fixing. |
Now height of other elements will accord to wrapped string.
|
Picture 4: Required result. |
Related posts:
Credits:
Ankur Gupta for suggest.
No comments:
Post a Comment