I want to show multiple detail section in my jasper report. How to add multiple detail bands in JasperReports? For details band I am passing collection from my java class. So if I have multiple detail band how to pass the different collections to different detail band.
Can some one provide help on this
You can create another detail band by right-clicking your detail band in the outline and choosing "create band". But to have another header and footer, I think you need to create a subreport for each table. Set up each table with its header and footer in their own report.
A group can even have more than one header\footer band in the designer, for example to add an header to a group it's sufficent right click on the header element in the outline view (it dosen't matter if it has black color or lightgray because at the moment there aren't other headers) and select the option "Create Band" ...
jrxml is a human readable XML file that contains the report template i.e. report structure and its formatting rules. . jasper is the compiled report template i.e. compiled . jrxml file.
At JasperReports levelIn <jasperserver-root>/WEB-IN/classes you can find the file jasperreports. properties.
it's seems that this question was asked long time in past. Now with new JasperReports version, multiple detail bands are possible. Please refer to JasperReports download for latest revision.
You should use subreports.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With