venujasper Posted March 30, 2010 Share Posted March 30, 2010 Hi All, I am using ireport 2.0.5.There is a requirement to increase the detail band hieght dynamically when the text field has more data , are there any settings to increase to it.I am using one textfield in the detail band when it has more information(words), it is displaying only some information.i.e the words are being cut off.Depending on the detail band height the words are displaying.I would like to increase the band hieght when the text field has more data. Please find the attached image which shows my problem. Thanks,Kitti Link to comment Share on other sites More sharing options...
ckampshoff Posted March 30, 2010 Share Posted March 30, 2010 Hi Kitti,what about the option "Strech With Overflow" in the field properties? I think this will do exactly what you're searching for.HTHChristina. Link to comment Share on other sites More sharing options...
venujasper Posted March 31, 2010 Author Share Posted March 31, 2010 Thanks for reply I have used the "Stretch With Overflow" option for the text field,but its not Stretching the detail band.Its working when i increase the detail band height manually, but its not useful for my requirement and it will display the empty space between each record(line). Are there any other solution? Thanks®ards,Kitti Link to comment Share on other sites More sharing options...
ckampshoff Posted March 31, 2010 Share Posted March 31, 2010 Hi,I'm sorry if I didn't understand your needings the right way. In my case I put a field on the detail band and set the height of the deatil band that it fits the height of the field I put on it. I checked the option "Strech With Overflow" in the properties of the field. If I run the report, the field overflows, if the content is bigger than the field height and the band height grows up, too. So I might understood you the wrong way. Perhaps you can post your jrxml so that we can have a look at it, and try to find out what's going wrong.RegardsChristina. Link to comment Share on other sites More sharing options...
venujasper Posted April 2, 2010 Author Share Posted April 2, 2010 Thank you very much ChristinaPlease find the attached jrxml file. Link to comment Share on other sites More sharing options...
ckampshoff Posted April 6, 2010 Share Posted April 6, 2010 Hi,I found out that if you set the property "Print order" in the report properties to "Vertical" the field flows over (if you checked the property), if the content doesn't fit. If you put the detail band height to the height of your fields (in this case 15) you won't get an empty space between your lines. HTHChristina. Link to comment Share on other sites More sharing options...
xiaobinling Posted September 11, 2014 Share Posted September 11, 2014 I tried it but failed, only drag the bottom line of textfield can display the hidden contents.Has other methods? 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