Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Change header's content dynamically
Objectiva
Hello all,
Does anyone happen to know how to change header's content in different page? I want the header display "Account report" in the first page, and display "Account report continued ..." in rest of the pages.
Any help is highly appreciated.
Find more posts tagged with
Comments
mwilliams
What is your BIRT version? You could use page variables if using BIRT 2.5.x or above. Let me know.
Objectiva
Hi mwilliams
I'm using BIRT 2.6, but I don't know how to use page variables, is there a wiki or documentation I can refer to? Would you give me detail information on this? It would be better to have a demo.
Thanks for your reply.
Objectiva
Hi BIRT Guru, would you give me a demo for this? Highly appreciate for your help.
mwilliams
Take a look at the following devShare post for a couple different ways to do this:
http://www.birt-exchange.org/org/devshare/designing-birt-reports/1381-adding-continued-to-title-label-on-masterpage-after-first-page/
Weber
Hi mwilliams, we met the same issue, but our demand is that our report table data is grouped by the client name, when the group "Sam" have more than one page detail informantion, you should show "Sam" in the firt group page, and then you should show "Sam countinue..." in the other group page. Can you give me some help?
mwilliams
You could use a page variable to do this. You'd just set the value of the page variable in your table script and use the variable auto-text in your masterpage. You'd add the continued if the group on the page was still the same. Let me know if you need some sort of example.
RaymonYuan
Hi Mwilliams,
I have the same problem with Weber.
I have visited the devShare you posted (
http://www.birt-exchange.org/org/devshare/designing-birt-reports/1381-adding-continued-to-title-label-on-masterpage-after-first-page/)
.
And download attached file, I did some change for the design file like below:
1. Add a group in the table, and setting group key with "STATUS"
2. Move header from table header into group header.
I want display "continue" in the group header which group data more than 1 page.
Attached are the design file I modified and some screenshot for describe what I want to do.
Mwilliams, could you please give me an example with the attached design file.
Thank you very much
Raymond
mwilliams
I don't know that you can do this within a header in the report design. One thing you can do is add an interval group inside your current table group. Set the interval for the group to a number of rows that can fit on a page and then you can use the interval group header to display "continued..." If you started each group on a new page, you could possibly do this in the masterpage with a page variable.