grototo Posted May 3, 2019 Share Posted May 3, 2019 Hi folks,I'd like to produce a pdf file and a csv file using the same reports.Here is my main report : (using iReport 3.7.2)I'd like the page header section to be printed once in my csv file.I used<property name="net.sf.jasperreports.export.csv.exclude.origin.keep.first.xxxxx.1" value="pageHeader"/>[/code]in my main report and tried report and band, but it doesn't work.Neither did it work with both :<property name="net.sf.jasperreports.export.csv.exclude.origin.keep.first.xxx.1" value="pageHeader"/><property name="net.sf.jasperreports.export.csv.exclude.origin.xxx.1" value="pageHeader"/>[/code]In the detail section, I'm calling another subreport, which uses groups. I'd like to keep all from this subreport.Does anyone have a brilliant idea to help me fix this?Best regards,Thomas Link to comment Share on other sites More sharing options...
grototo Posted May 3, 2019 Author Share Posted May 3, 2019 Hi again,missed to add the fact I don't want to keep pagination for the csv export, but I think this goes with :net.sf.jasperreports.export.csv.paginated=false[/code] Link to comment Share on other sites More sharing options...
grototo Posted May 7, 2019 Author Share Posted May 7, 2019 Hi folks, it's a jasperreport bug.The only way to avoid it is to put each subreport in a frame.Regards,Thomas 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