| Author |
dynamic jasper report
|
sudeepjee srivastava
Greenhorn
Joined: Mar 16, 2007
Posts: 2
|
|
HI All I wanted to add dynamically the number of columns in my report, means the number of columns in my report would increase based on the search criterion selected by the user. Note -: I wanted to do this in a single jrxml file any solutions with a small code snippet would be welcomed.
|
 |
Nilesh Padmawar
Greenhorn
Joined: Jan 23, 2008
Posts: 9
|
|
Hi sudeepjee, kindly look at the following link: http://dynamicjasper.sourceforge.net/ It's all dynamic jasper report , you can add columns at runtime. if you need any example please let me know. recently i have developed one sample app with dynamicJasper2.0.9 Regards, Nils- Not anather java developer
|
 |
arehman habib
Greenhorn
Joined: Aug 21, 2008
Posts: 1
|
|
|
i want to see how you implemented it
|
 |
Nilesh Padmawar
Greenhorn
Joined: Jan 23, 2008
Posts: 9
|
|
Hi Sivasundaram, Send me your mail id. - Nils
|
 |
Harika emm
Greenhorn
Joined: May 28, 2008
Posts: 8
|
|
Hi I am working on jasper reports which has to be generated dynamically here in my project user will have a page where he can select the department, starting data and end date to view the report in pdf so my report generation is dynamic so please help me in this with an example code thanku..
|
 |
Nilesh Padmawar
Greenhorn
Joined: Jan 23, 2008
Posts: 9
|
|
Sorry for late reply. Please send me your mail id through private massage. -- Nils Not Another Java Developer
|
 |
Martijn Verburg
author
Bartender
Joined: Jun 24, 2003
Posts: 3268
|
|
Hi all, Please remember to UseTheForumNotEmail!
|
Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
|
 |
Nilesh Padmawar
Greenhorn
Joined: Jan 23, 2008
Posts: 9
|
|
Hi all, It’s now all easy to understand the DynamicJasper api and I am happy that people are loving it like me. As author mention in the site (DynamicJasper) that "DynamicJasper (DJ) is an open source library that hides the complexity of Jasper Reports, it helps developers to save time when designing simple/medium complexity reports generating the layout of the report elements automatically" And it’s really working!!! From last 6 to 7 months I am working on Dynamic Jasper Reports and getting more involved in the project. In parallel, I was working on sample java app through which we can preview the design view and output report. It is base on DynamicJasper-3.0.2-test-project provided by Dj. As it is a more than one file I can not post it directly. -- Nils- Not another java developer
|
 |
Nilesh Padmawar
Greenhorn
Joined: Jan 23, 2008
Posts: 9
|
|
For your convinience , here is my main class..... Check out imported packages and lib Library file required: commons-beanutils-1.7.0.jar commons-codec-1.3.jar commons-collections-3.1.jar commons-digester-1.7.jar commons-discovery-0.2.jar commons-el-1.0.jar commons-fileupload-1.0.jar commons-javaflow-20060411.jar commons-lang-2.1.jar commons-logging-1.0.4.jar commons-validator-1.2.0.jar DynamicJasper-3.0.2.jar el-api.jar el-ri.jar iText-2.1.2u.jar jasperreports-3.0.0-applet.jar jasperreports-3.0.0-javaflow.jar jasperreports-3.0.0.jar jdt-compiler-3.1.1.jar jfreechart-1.0.0.jar junit.jar log4j-1.2.15.jar mysql-connector-java-5.0.8-bin.jar poi-3.0.1-FINAL-20070705.jar Main Class: This class represent group test from DynamicJasper-3.0.2-test-project provided by Dj. If you want to test other report then just replace buildReport() method corresponding to related deign object. Feel free to ask any queries related to this code. -- Nils- Not another java developer
|
 |
 |
|
|
subject: dynamic jasper report
|
|
|