jeanclaude.twagiramungu Posted February 21, 2023 Share Posted February 21, 2023 I am using TIBCO Jaspersoft® Studio 6.19.0 - Visual Designer for JasperReports 6.19.0. I have a report with a list element and I am using JRBeanCollectionDataSource.I put the list in a detail band, and when I pass a list of 3 different elements, it repeat 3 times, but it only the last element of the list which is displayed.Here is my report : it is the first list with dataset name = vehicleList.I have tried with a sub report and it is the same behavior.Does someone sees what is not going well ?Thx Link to comment Share on other sites More sharing options...
Michael Bielkiewicz Posted February 22, 2023 Share Posted February 22, 2023 This is a tricky one - I haven't used a JRBeanCollectionDataSource in a long time, but I would check this StackOverflow question as it has a good, detailed description of proper usage. Your jrxml is different - I would try the suggestion in this:https://stackoverflow.com/questions/12209300/jrbeancollectiondatasource-how-to-show-data-from-the-java-util-list-from-javabeI wish I could be more help, but it's hard not seeing the full code you've written. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now