Jump to content
Changes to the Jaspersoft community edition download ×

Problem with the order of elements


Recommended Posts

By: Theo - theofranco

Problem with the order of elements

2006-06-27 14:56

When a element (in this case a subreport) does not fit in a page and splitAllowed of its band is set to false, this element is placed on the other page. Jasper searchs the remaining elements looking for a smaller element that fits in this blank space.

Is there any way to say to Jasper to leave this space just in blank? Because in my report the order of the elements (subreports) is important.

Thanks all.

 

Theo.

 

 

By: Lucian Chirita - lucianc

RE: Problem with the order of elements

2006-06-28 00:08

What JR version are you using? I think this was fixed in 1.2.3:

http://sourceforge.net/tracker/index.php?func=detail&aid=1459774&group_id=36382&atid=416703

 

Can you try JR 1.2.3 or 1.2.4 and see whether the element order is correct?

 

Regards,

Lucian

 

 

By: Theo - theofranco

RE: Problem with the order of elements

2006-07-06 06:02

I changed to 1.2.4, but the problem remains. As my report is "java generated" (generated by code, not xml), now I verify where the page breaks are and put blank space in the botton of the page to not permit that a smaller registry was printed in that space.

Obviously I think that should exist a configuration to say whether I want to put a smaller element when a bigger element doesn't fit in the page.

 

Thanks a lot Lucian,

Theo.

 

 

By: Lucian Chirita - lucianc

RE: Problem with the order of elements

2006-07-06 06:24

If you can provide a sample (you can use JRXmlWriter to produce JRXML from an JasperDesign object), I will check it and see why it doesn't work. The subreport problem should have been fixed in JR 1.2.3.

 

Regards,

Lucian

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

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