This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dynamic Band Height in JRXML

 
Prasad J Babu
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My scenario is in a jrxml contains two subreports in which I will be showing either of one report at a time based on some condition. but both the subreports are of different height. So I cant fix the details band height as a static. Is there any way to set the detail band height dynamic.
 
Prasad J Babu
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have placed two subreports in detail band of master.jrxml and will display either of subreport at a time based on some logical condition(printwhenexpression). The height of two subreports are different, say 50 and 100. If I set the detail band height="100" and displaying the first subreport shows the remaining 50 empty blank lines too.I want to adjust the detail band height based on the displayed subreport?
 
Nitesh Kant
Bartender
Posts: 1638
IntelliJ IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Assuming you are referring to jasper reports, I am moving this to Other Open Source Projects forum. You may get better answers there.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic