Rahul Borkar
Rahul Borkar

Reputation: 2762

JasperReports with multiple detail bands

I am a beginner with JasperReports and wanted to have example of how to create a solution for the following problem.

I have details, and for each row in detail there are again details for that particular row. Can we implement this using JasperReports? I have tried creating sample reports using iReport for single detail band and that works fine, but don't know how to create a detail band which will have details for each row in existing detail band.

Rahul

Upvotes: 0

Views: 4573

Answers (1)

JB Nizet
JB Nizet

Reputation: 691695

Use a sub-report. Each row in the main report will contain a sub-report, which will itself have its own detail band.

You should find an example using a sub-report in the JasperReports distribution.

Upvotes: 2

Related Questions