I have a problem with report, just created a generated design
and added two sectionGroups
from which each of sectionGroup
has 3 sections (header,body,footer)
.
All the data is working perfectly but when I am running the report, sectionGroup footer
is placing in wrong location, I just want every footer
inside it's related sectionGroup
.
The Output of above Report:
Maybe there I have more than 10 sectionGroups
, I want the same design for all.
Thanks in advance.
You may succeed with using:
element.addPendingSums();
Call it before printing the second header (before super() in executeSection
).
Or maybe you need to have the second section group nested in the first body (your data does not look like that).