2006 IR Open Discussion Posted September 2, 2006 Share Posted September 2, 2006 By: dfailla - d_failla Dynamic band height 2006-07-24 07:05Has anyone ever tried to change or access the band height property of a band on the fly? I would like to set bandheight based on style-defined font size. That would allow report page size to shrink as the font is reduced. By: zaic - zaic20 RE: Dynamic band height 2006-07-29 14:26I have the same problem but I would like to know how I can set page height dynamically. Thanks Link to comment Share on other sites More sharing options...
sara Posted January 7, 2007 Share Posted January 7, 2007 ALL,IS THERE NO SOLUTION FOR DYNAMICALLY INCREASING THE BAND HEIGHT? MANY SEEM TO BE STUCK WITH THE SAME PROBLEM FOR LONG. LET US PLEASE KNOW IF IT IS A BUG IF NOT A SOLUTION. THANKS. REGARDS,Sara:( Link to comment Share on other sites More sharing options...
remofritzsche Posted January 29, 2007 Share Posted January 29, 2007 Yes, I would also bee verry happy if is there a solution! Regards,Remo Link to comment Share on other sites More sharing options...
oilhands Posted July 7, 2007 Share Posted July 7, 2007 I also would like to set the height of a band or make the band grow/stretch to accommodate fields within it. We are switching to JasperReports from Crystal Reports. This might be a deal breaker. I have dynamic parameters which are listed in the report title band. When the user selects lots of parameters the title band should grow to the height of the stretching field or the total of all the fields or something. Likewise, dividing the band up so that I can place a single field that will grow would be nice. Link to comment Share on other sites More sharing options...
codyjasperForge Posted July 10, 2007 Share Posted July 10, 2007 If you are using textfields, there is an option under the 'COMMON' tab, that will allow you to stretch the field according to the band height. One method of getting you band to extend would be to input empty characters and line breaks to make the field height stretch. There are other ways to get this to work but the 'Stretch relative to band height' option sounds like the best bet. Hth... Link to comment Share on other sites More sharing options...
ardarico Posted September 5, 2007 Share Posted September 5, 2007 No, codyjasperForge, you did not understand the questions.. We ask if it is possible to change the band height at run time. Not: <band height="20">.. but <band height=$V{..}> or something like this. I cannot find a sample in which the band height depends on the content of the band. For example, I would like to have band height = "340" if the content of the band is an <image>, or height = "15" if the content is a <textField>. Is the question clear, now? Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now