Jump to content

Dynamic height of element depends of another element


roston

Recommended Posts

 So I have some problem with jasper report. 

My issue about dynamic height of some element, that depends on another element. 
In details:
 
I have table of two cells.
 
And in first cell, I have 4 frame elements. Like
 
    ++------------------++-------++--------++
    ++Program info++Units++Totals++
    ++------------------++-------++---------++
    ++                     COMMENT             ++
    ++-----------------------------------------++
 
So Program info is one frame, Units and totals another, and comment, one another.
So problem. One product could have of not comment, so I set printWhenExpression to Comment Frame. But when product have no comment there is blank place, but I want to increase height of Program info, Units, Totals frames for aligning, or stretch frames down, and I don't want to have blank place in my reports. How I can do this?!


Post Edited by roston at 03/27/2012 10:29
Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

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