Jump to content
JasperReports Library 7.0 is now available ×

Keep Group together


2004 IR Help

Recommended Posts

By: Alexander Schulz - hupasc

Keep Group together

2004-03-25 03:26

Hello,

 

we have a little Problem with the groups.

 

Here a little example:

 

group by city with several products in the details:

 

Berlin

Product 1

 

Hamburg

Product 1

Product 2

 

Munich

Product 1

Product 3

Product 4

 

So let us say that Berlin and Hamburg totally fit on the first page. But there is not enough space on the page left to print the group "Munich" completly on the same page. Now I want jasperreport to print the hole group "Munich" on the next page. How do I do that.

 

In some other reporttools (e.g. ReportBuilder for Delphi) there is an option called "Keep group together". Is there any equivalent option in jasperreport?

 

Thanks for your help.

 

P.S. Due to our technical situation we are not able to use SubReports at the moment.

 

 

 

 

 

 

 

 

By: Teodor Danciu - teodord

RE: Keep Group together

2004-03-25 11:38

 

Hi,

 

This could only be achieved with subreports placed

inside bands that have isSplitAllowed="false".

 

Thank you,

Teodor

 

 

 

 

 

By: Peter van Raamsdonk - peetzer

RE: Keep Group together

2005-02-02 23:53

Request: Can the option ''isSplitAllowed'' also be added to the group section?

 

Because placing this inside the bands have no effect if you use a header, detail and footer which all can be used in one group.

 

Placing a subreport is a work around.

 

Thanks in advance for looking into it,

 

Kinds regards Peter

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