kito_park Posted October 16, 2019 Share Posted October 16, 2019 Hi, im trying to create a report that use 2 columns, the report works fine except the size of the columns, the columns should have the same height.I want to set the max size between column A and B, noi matter the blank space on the smallest columnthere is a screenshots Thanks for help :) Link to comment Share on other sites More sharing options...
danoldenkampgmail.com Posted October 17, 2019 Share Posted October 17, 2019 Hello,Can you give us a bit more info.Are you using report level columns?Is each section a seperate report band? If two tables elements are contained within a single band, have you tried setting the band stretch type to Container bottom? Variable-Height Text FieldsBecause text fields have dynamic content, most of the time you can’t anticipate the exactamount of space to provide for them. If the space you reserve for your text fields is notsufficient, the text content is truncated so that it fits into the available area.This scenario is not always acceptable, so you can let the reporting engine calculate theamount of space required to display the entire content of the text field at runtime, andautomatically adjust the size of the report element.To do this, set isStretchWithOverflow to true for the particular text field elementsyou are interested in. By doing this, you’ll ensure that if the specified height for the textfield is not sufficient, it will automatically be increased (never decreased) in order to beable to display the entire text content.When text fields are affected by this stretch mechanism, the entire report section towhich they belong is also stretched. If they are Text elements you may want to check Detaisl overflow and stretch with overflow. This is a good example of when working with text grid layout behavior:https://community.jaspersoft.com/blog/tip-detail-overflow-vs-stretch-overflow-jasper-reports-when-use-how-avoid-repetaitonimages-or Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now