Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » group header page breaks
group header page breaks [message #857656] Thu, 26 April 2012 18:51 Go to next message
Aaron Titus is currently offline Aaron TitusFriend
Messages: 10
Registered: March 2012
Junior Member
Hello. I'm trying to create a report using a table with a single group, and I want to have a page break for each group such that the group header appears at the top of each page with the detail items beneath it. I cannot seem to get this to work. I am using BIRT 3.7.2.v20120213-4617w31231324 (eclipse Indigo download package that includes BIRT.)

My table does include a group header, and there is one data element in the group header. For this group header row I set page break to Always. It does properly render the headers, however there are no page breaks at all. The entire table appears on a single page.

Can anyone suggest what I am doing wrong?
Re: group header page breaks [message #857680 is a reply to message #857656] Thu, 26 April 2012 19:14 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

How are you running the report? Are you using the Web Viewer /frameset
option? In the group editor you can set page break after to always.
See attached example

Jason

On 4/26/2012 2:51 PM, Aaron Titus wrote:
> Hello. I'm trying to create a report using a table with a single group,
> and I want to have a page break for each group such that the group
> header appears at the top of each page with the detail items beneath it.
> I cannot seem to get this to work. I am using BIRT
> 3.7.2.v20120213-4617w31231324 (eclipse Indigo download package that
> includes BIRT.)
> My table does include a group header, and there is one data element in
> the group header. For this group header row I set page break to Always.
> It does properly render the headers, however there are no page breaks at
> all. The entire table appears on a single page.
> Can anyone suggest what I am doing wrong?
  • Attachment: group.zip
    (Size: 2.74KB, Downloaded 576 times)
Re: group header page breaks [message #857779 is a reply to message #857680] Thu, 26 April 2012 21:27 Go to previous messageGo to next message
Aaron Titus is currently offline Aaron TitusFriend
Messages: 10
Registered: March 2012
Junior Member
Right now I am running the report by right-clicking on it and selecting Report > Run report in Eclipse. This brings up the report in a Birt Viewer pop-up window. Thanks for the example, I'll compare this to what I have.

For future reference, is there any reason that using the Page break functionality on the group header row should not work, or is this a bug?
Re: group header page breaks [message #857905 is a reply to message #857779] Thu, 26 April 2012 23:27 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

If you are in the birt designer you have an option to view the report in
html or in the Web Viewer. The Web Viewer does HTML pagination. The
iew as HTML option does not.

Jason

On 4/26/2012 5:27 PM, Aaron Titus wrote:
> Right now I am running the report by right-clicking on it and selecting
> Report > Run report in Eclipse. This brings up the report in a Birt
> Viewer pop-up window. Thanks for the example, I'll compare this to what
> I have.
> For future reference, is there any reason that using the Page break
> functionality on the group header row should not work, or is this a bug?
Re: group header page breaks [message #858063 is a reply to message #857680] Fri, 27 April 2012 01:41 Go to previous messageGo to next message
Aaron Titus is currently offline Aaron TitusFriend
Messages: 10
Registered: March 2012
Junior Member
Ok, so what I found comparing your example to mine was that the page break was set at the group level instead of at the row level. After changing it to match yours, it worked. I still would like to know regarding the method I was doing before: is this a bug of some kind?



Jason Weathersby wrote on Thu, 26 April 2012 15:14
How are you running the report? Are you using the Web Viewer /frameset
option? In the group editor you can set page break after to always.
See attached example


Re: group header page breaks [message #858071 is a reply to message #857905] Fri, 27 April 2012 01:45 Go to previous messageGo to next message
Aaron Titus is currently offline Aaron TitusFriend
Messages: 10
Registered: March 2012
Junior Member

Hi Jason, I don't see these options, at least they are not called that. In the version of Eclipse I have, the options for running the report are "Generate Document", 'Run Report" and "Debug Report". I don't know how to determine which one is the 'web viewer' and which one is 'view as html' as you have referred to it below. What I am doing is choosing "Run Report".


Jason Weathersby wrote on Thu, 26 April 2012 19:27
If you are in the birt designer you have an option to view the report in
html or in the Web Viewer. The Web Viewer does HTML pagination. The
iew as HTML option does not.


Re: group header page breaks [message #859896 is a reply to message #858063] Fri, 27 April 2012 21:27 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

That does look like a bug, but using the group editor should work. Can
you log a bugzilla entry for it? You can also put a page break after the
group footer that should accomplish the same thing.

Jason


On 4/26/2012 9:41 PM, Aaron Titus wrote:
> Ok, so what I found comparing your example to mine was that the page
> break was set at the group level instead of at the row level. After
> changing it to match yours, it worked. I still would like to know
> regarding the method I was doing before: is this a bug of some kind?
>
>
> Jason Weathersby wrote on Thu, 26 April 2012 15:14
>> How are you running the report? Are you using the Web Viewer /frameset
>> option? In the group editor you can set page break after to always.
>> See attached example
>
>
>
Re: group header page breaks [message #859897 is a reply to message #858071] Fri, 27 April 2012 21:28 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Do you have the report design perspective open?

Look at the attached image.

Jason


On 4/26/2012 9:45 PM, Aaron Titus wrote:
>
> Hi Jason, I don't see these options, at least they are not called that.
> In the version of Eclipse I have, the options for running the report are
> "Generate Document", 'Run Report" and "Debug Report". I don't know how
> to determine which one is the 'web viewer' and which one is 'view as
> html' as you have referred to it below. What I am doing is choosing "Run
> Report".
>
> Jason Weathersby wrote on Thu, 26 April 2012 19:27
>> If you are in the birt designer you have an option to view the report
>> in html or in the Web Viewer. The Web Viewer does HTML pagination. The
>> iew as HTML option does not.
>
>
>
Re: group header page breaks [message #865663 is a reply to message #859897] Mon, 30 April 2012 14:09 Go to previous messageGo to next message
Aaron Titus is currently offline Aaron TitusFriend
Messages: 10
Registered: March 2012
Junior Member
Thanks for all your help on this, Jason. The menu option you are using now makes sense. I will make a test case version of this using the sample data source like you sent to me, and I will then file the bug report using that.

Thanks again!
Re: group header page breaks [message #865737 is a reply to message #865663] Mon, 30 April 2012 14:42 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Thanks for offering to create the bug entry.

Jason

On 4/30/2012 10:09 AM, Aaron Titus wrote:
> Thanks for all your help on this, Jason. The menu option you are using
> now makes sense. I will make a test case version of this using the
> sample data source like you sent to me, and I will then file the bug
> report using that.
> Thanks again!
Previous Topic:Birt 3.7.2 - File Not Found Exception for Data Cube with Cross Tab Report
Next Topic:Not able See SOPs in Jboss
Goto Forum:
  


Current Time: Thu Apr 18 10:43:48 GMT 2024

Powered by FUDForum. Page generated in 0.01765 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top