how can I create report that will iterate over arraylist in detail section that is passed as parameter in Jasper report?
Is that even possible? I searched and I found soloution that you have to add ArrayList as datasource. How do I do that?
Regards
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can create an SubReport an pass the ArrayList as DataSourceExpression:
Javadoc:
http://jasperreports.sourceforge.net/api/net/sf/jasperreports/engine/data/JRBeanCollectionDataSource.html