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)
Suppressing Header rows after Page 1
rpolunsky
I need to show only the top row of a multi-row group header after the first page. I thought I would reference pageNumber but that always showed zero. So I created a pageCount variable in report.initialize and incremented it in table.onPageBreak. If I use that in a dynamic text element in the detail section I can see it being incremented, but if I reference it in the header row it continues to show as zero.
Apparently the header row is being precomputed and just copied over in subsequent appearances. Does anyone have a way to conditionally suppress part of the header based on page number?
Actually, this is part of a larger question that I asked back when I started using BIRT. I wanted to show a group header normally on first appearance but with "(continued)" appended on succeeding pages if it spanned multiple pages. I don't think i've ever seen anyone come up with a means to do that in BIRT either.
Richard
Find more posts tagged with
Comments
mwilliams
Hi Richard,
I looked into this a little and was unable to find a solution, so I put a logging function into the group header and found that the group header only renders 1 time. Based off of this, it seems that there would be no way to change the group header after the initial rendering...it just repeats the original rendering every time the group passes to a new page.
Hope this helps.