Jump to content
Changes to the Jaspersoft community edition download ×

Dynamic Group Page Break

2004 IR Help

Recommended Posts

By: Rich Johnson - rwj999

Dynamic Group Page Break

2005-02-14 09:06

Hi all,

I would like to have the user of my reports have the option of inserting page breaks on the group level.


I realize that there is an attribute in the group section named 'isStartNewPage'


My question is, is there a way I can dynamically set this attribute using a parameter passed into the report?


Any help would be greatly appreciated.






By: Teodor Danciu - teodord

RE: Dynamic Group Page Break

2005-02-14 09:31




You could modify this flag on the JasperReport object

after you load it from the *.jasper file using

the JRLoader and before passing it to the report-filling routines.


This can be seen in the "alterdesign" sample where

element colors are changed on-the-fly.


I hope this helps.







By: Rich Johnson - rwj999

RE: Dynamic Group Page Break

2005-02-14 11:28



Thank you Teodor!






By: ilmagowalter - ilmagowalter

RE: Dynamic Group Page Break

2005-05-10 06:58

Can you post an example, please?

is very urgent!

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