
Take a look at the attached screenshot.
Here's the code that made that:
$F{a.id}
...
$F{a.name}
...
$F{b.id}
$P{showB}
...
$F{b.name}
...
$F{c.id}
...
$F{c.name}
...
The parameter showB was false. It would be great if jasperreports would allow to trim that second bookmark level. For example:
exporter.setParameter(JRPdfExporterParameter.TRIM_EMPTY_BOOKMARKS, Boolean.TRUE);
Related to artf2056.
Attachments:

Recommended Comments