Jasper exported to Excel ignoring background color?

Posted by discgolfer on Stack Overflow See other posts from Stack Overflow or by discgolfer
Published on 2008-11-14T22:48:02Z Indexed on 2010/05/21 19:00 UTC
Read the original article Hit count: 363

Have you ever had alternating background colors in a Jasper report and then exported it to Excel? The Excel export seems to ignore the alternating color.

I've got a Jasper report where the rows alternating background color using the procedure referenced HERE. When I preview it using the viewer or export to PDF it works -- but not when I export to Excel. I've tried using JRXlsExporter and JExcelApiExporter both to no avail.

I think it might be a side-effect of how you have to make alternating row colors in Jasper, which I despise to begin with, but have found no other way.

Thanks in advance!

© Stack Overflow or respective owner

Related posts about java

Related posts about jasper-reports