Jump to content
We've recently updated our Privacy Statement, available here ×

How to increase detail band hieght dynamically


venujasper

Recommended Posts

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

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

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&regards,

Kitti

 

 

Link to comment
Share on other sites

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.

Regards

Christina.

Link to comment
Share on other sites

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.

 

HTH

Christina.

Link to comment
Share on other sites

  • 4 years 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...