dnvsrikanth Posted July 18, 2009 Share Posted July 18, 2009 Hi,We are using JasperReports to generate Reports in our Web application. Its great that JasperReports exports the report to various format. I have a small problem in CSV export where in when I export the page to CSV format, the data is not set properly, I mean to say the column headers are at one location and the values are at another location say to the below-right of the column-headers. But I expect that the data need to be below the column-headers. I am attaching a CSV file exported by using JasperReports. Anyone Please help me out of this problem. This issue is reported by one of our clients and I need to resolve it as early as possibleThanks,DNV Srikanth.Post Edited by dnvsrikanth at 11/06/2009 17:19Post Edited by dnvsrikanth at 11/06/2009 17:20 Link to comment Share on other sites More sharing options...
dnvsrikanth Posted July 20, 2009 Author Share Posted July 20, 2009 Can anyone please help me in this regard?? Thanks,DNV Srikanth. Link to comment Share on other sites More sharing options...
dnvsrikanth Posted July 21, 2009 Author Share Posted July 21, 2009 Hi Teodor Can you please help me in this regard? Thanks,DNV Srikanth. Link to comment Share on other sites More sharing options...
Teodor Danciu Posted August 20, 2009 Share Posted August 20, 2009 Hi, You data cells are not below the header cells because you did not align them so when you created the report template.This FAQ explains what you need to do. Note that the CSV exporter is a grid exporter.http://jasperforge.org/uploads/publish/jasperreportswebsite/trunk/faq.html?group_id=252#FAQ9 I hope this helps.Teodor Link to comment Share on other sites More sharing options...
dnvsrikanth Posted November 6, 2009 Author Share Posted November 6, 2009 Hi Teodard, Thanks for the help. I have resolved the CSV issue. But theres another problem in this in which a javascript code snippet is being added everytime I export the report to CSV format. I am attaching the CSV file exported using JasperReports API and the CSV filestream. Please help me in this regard, our product is at a release state in which this issue is one of the issues which is pulling the release Thanks,DNV Srikanth Link to comment Share on other sites More sharing options...
dnvsrikanth Posted November 12, 2009 Author Share Posted November 12, 2009 Any help in this regard?? Link to comment Share on other sites More sharing options...
lucianc Posted December 3, 2009 Share Posted December 3, 2009 I doubt JasperReports adds that text to the CSV export.Are you sure it's not your application who does that?Regards,Lucian 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