sparvizkhani Posted May 10, 2017 Share Posted May 10, 2017 i wnat to create multiple table dynamically in one jasper file by use API and programically in JAVA.is there any one to help me?? Link to comment Share on other sites More sharing options...
reportdev Posted May 10, 2017 Share Posted May 10, 2017 From my experience with jasper reports api, its not possible to generate the jrxml layout dynamically.jasper api can open a datasource and generate an export.Try using Dynamic Jasper and see if you can create the jrxml and then generate the export using jasper api.http://dynamicjasper.com/documentation-examples/getting-started/ Link to comment Share on other sites More sharing options...
asimkin Posted May 12, 2017 Share Posted May 12, 2017 Hi,jJasperDesign object can be created dynamically, without using a prepared JRXML file.Please review provided sample:http://jasperreports.sourceforge.net/sample.reference/noxmldesign/index.htmlBest regards,Andrew Link to comment Share on other sites More sharing options...
sparvizkhani Posted May 14, 2017 Author Share Posted May 14, 2017 dear Andrewtnx for your replyBut I can't Find library about Table component speciallycan you help??? Link to comment Share on other sites More sharing options...
Solution asimkin Posted May 15, 2017 Solution Share Posted May 15, 2017 Hi,please find attached a sample Java code to create Table component dynamically.Hope, this helps you to achieve your requirementsBest regards,Andrew 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