eeshachhabra Posted July 26, 2018 Share Posted July 26, 2018 Hi,I have a list of string values which I am passing as a parameter from java as parameters,put("nameList", list)How do I iterate that in jasper report using Japersoft studio and print list values horizontally in report. Please help.Thanks in advance.Regards,Eesha Link to comment Share on other sites More sharing options...
reportdev Posted July 26, 2018 Share Posted July 26, 2018 You need to convert the list parameter into a JRBeanCollectionDataSource and then pass into a table element/subreportnew net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($P{listParam})I'm not sure about the horizontal printing part inside the table element. 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