This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes Dynamic Band Height in JRXML Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Dynamic Band Height in JRXML" Watch "Dynamic Band Height in JRXML" New topic

Dynamic Band Height in JRXML

Prasad J Babu

Joined: Jan 20, 2011
Posts: 2
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

Joined: Jan 20, 2011
Posts: 2
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

Joined: Feb 25, 2007
Posts: 1638

Assuming you are referring to jasper reports, I am moving this to Other Open Source Projects forum. You may get better answers there.

apigee, a better way to API!
I agree. Here's the link:
subject: Dynamic Band Height in JRXML
It's not a secret anymore!