Jump to content

Nested subreport height problem


blackflame

Recommended Posts

Hi there!

I'm currently working with IReport 3.7.5 and I'm facing the following problem. I have a master report with several rows of data but only with two columns. In the left column I have the name and surname of a person, and in the right column there is a subreport with only one column that says the different telephone numbers of that person.

-------------------------
Name  | Numbers
-------------------------
               |
               --------------
               |
               --------------
               |
-------------------------
               |
               --------------
               |
-------------------------

When the telephone number subreport grows (for instance, three numbers for one person), no problem, the height of the box that contains the name and surname of the person, grows vertically due to I have set the stretch property to "tallest object".

The thing is the name and surname box width is small, so in case the name and surnames value is long, it's being splitted into two lines and the height of the box that contains the name increases...BUT, what happens with the subreport if there is only one tel number for that long person? It does not fit, it remains short...and it can't grow because the subreport does not have the information of the master report height....or I simply don't know if there's a way to do it.. 

It happens this:

Name | Numbers
-----------------------
            |
            --------------
---------|

Is there a way to solve this?

Thanks in advance.
Jordi.

 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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...