Color backgrounds for report elements are in black / white (no color fill) when running a main report w/ subreports.

I'm running into a very strange issue when running a number of subreports from my main report page - I've designed the report so that when it's bounced out to excel, each subreport becomes its own tab in the excel document (achieved through the "no pagination" and page break method). However, when this report runs, I've noticed that all the elements in the report are in black and white (that is to say - each subreport has elements with color properties that are returning without their color fill). 

Has anyone run into this issue before? If so, does anyone have any advice on where to look for a possible solution?

Best regards!

Ty

zanona_tyler's picture
Joined: Aug 14 2017 - 9:49am
Last seen: 4 years 1 month ago

1 Answer:

 Try setting these two properties on both, main report and sub-reports:

net.sf.jasperreports.export.xls.ignore.cell.background = false

net.sf.jasperreports.export.xls.white.page.background = false

 Also, ensure that the "Transparent" checkbox is Unchecked at the record level.

narwekarkomal's picture
Joined: May 22 2017 - 7:31am
Last seen: 1 year 6 months ago
Feedback