I\'m new to JasperReports. I want to pass ArrayList to subreport of subreport.
I have master report which contains one subreport1 and this
It's done by passing a collection data-source: new BeanCollectionDataSource(yourArrayList);
And then to obtain the JasperPrint object:
JasperPrint jasperPrint =
JasperFillManager.fillReport(jasperReport, params, dataSource);
To pass to a subreport, you have two options:
List where Something has a property of type Listparams above).