Meaningless Drivel is fun!*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Dynamic Band Height in JRXML" Watch "Dynamic Band Height in JRXML" New topic
Author

Dynamic Band Height in JRXML

Prasad J Babu
Greenhorn

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
Greenhorn

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
Bartender

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!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Dynamic Band Height in JRXML
 
Similar Threads
Showing blank page while running the report in Jasper
watermarking an image using IReport
problem passing parameters from PHP to JRXML
how to calculate time for execution of jrxml file?
jasper