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)
How to display TOC Expression on Report using Group
birty
Hi,
I designed a table having Group.
Let's say grouping is on row[TEST], I activated Page Break "Always Excluding First", that is working absolutley perfect.
Birt seperates each group on a single PDF.
Further I declared row[TEST] as TOC Item Expression in the group.
Here comes my question:
How's it possible to display the current TOC Item Expression (here: row[TEST]) in the TableHeader for each group?
It should be the Headline for the group.
Find more posts tagged with
Comments
mwilliams
Hi birty,
So, you just want the group header to say "here: row["TEST"]", where row["TEST"] is the value of the "TEST" column? Just want to make sure I'm not confused before offering a possible solution.
birty
Hi MWilliams,
yes, I want to display row[TEST] (which is also the TOCItemExpression of the group) in its group-header.
Unfortunately it doesn't work when creating a Datafield in the header with a binding to row[TEST]. Here it shows just a value from row[TEST] but not the one currently used in the group.
Please help!
mwilliams
birty,
It won't work if you put it in the actual table header because I believe it is only created once and just copied from page to page, so the first value would be copied to all pages. Putting it in the group header like you're wanting should work fine. If you want it to be the top line of every page, you could hide the table header row, insert another group header row below the current one, and move the column descriptors down to the new line. This would would allow your group description to be the top line on each page.
Hope this helps.