I need to skip a level in TOC tree, e.g., report has 2 nested groups but the top most group is a a system ("service") group and I don't want to display it's value in TOC tree but just the value of the inner group:
Project Report (table level TOC)
|__ (top most group - skip this)
|_______1003.001 (inner group - only this group needs to be displayed in TOC)
If I don't specify the TOC value that I need to skip then BIRT returns empty (blank) TOC levels - see attached.
For example, Actuate ErdPro allows to set TocAddComponent=TOCSkip that results in TOC level being skipped in the TOC tree. Can something similar be done in BIRT 4.2.1?
It appears as if the blank grouping is forced, if you have a group underneath the one that you clear the TOC expression for. A workaround could be to define the second group as a combination of groups 1 and 2. For example, make the group expression row["Group 1"] + "-" + row["Group 2"] and then, for the TOC expression, just put row["Group 2"]. This may or may not work for you. Either way, you can log a bug for this in the bugzilla. If you do, please post the bug info in here for future reference. Thanks.