zbl Posted November 3, 2008 Share Posted November 3, 2008 hello , I have a general quistion about dynamic Table by JasperReport !!is it possible to create Table if i dont now by buildingtime how much rows would be used.if it is possiblle would you kind tell me how to create that ? thanks Link to comment Share on other sites More sharing options...
pnvswamy Posted November 3, 2008 Share Posted November 3, 2008 Hai,For the table format, you need to put the detail band each field in rectangle.Keeping no gap between the rectangle fields.Then you will get the Table formatted Report. Link to comment Share on other sites More sharing options...
shrije Posted November 3, 2008 Share Posted November 3, 2008 Please look at the sample TableOfContents in the JR Distribution. You will get the answer to all your questions. Link to comment Share on other sites More sharing options...
zbl Posted November 3, 2008 Author Share Posted November 3, 2008 thanks for the answer but my Report template is very large and i would not to write the complete .jrxml file myself. so i have a report file with charts and some other information , only the table have to create dynamicly. is that possible ? i try with JasperDesign but with it i can only create a complete new Report !! i want load a existing report und change it !!i' m grateuul for any answer thank you very much Link to comment Share on other sites More sharing options...
lucianc Posted November 3, 2008 Share Posted November 3, 2008 zblWrote: i try with JasperDesign but with it i can only create a complete new Report !! i want load a existing report und change it !! You can load a JRXML file into a JasperDesign object using net.sf.jasperreports.engine.xm.JRXmlLoader. Once you have the JasperDesign object, you can change it and recompile it.HTH,Lucian Link to comment Share on other sites More sharing options...
kalafyan Posted November 3, 2008 Share Posted November 3, 2008 Also you can load the .jasper file using : JRLoader.loadObject( path of the .jasper file ). So you can load the .jasper ( compiled report ) instead of jrxml (design of the report). Link to comment Share on other sites More sharing options...
zbl Posted November 5, 2008 Author Share Posted November 5, 2008 hi, thank you very much !! 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