Jasper report exported to excel format is not displaying the background colour -


i using jasper reports-4.5.0 . using generating reports , exporting different formats pdf,csv,xls,html. working fine except .xls format. when export report .xls not displaying background colour pageheader band. code using below. inside page header band

<image> <reportelement mode="opaque" x="0" y="0" width="236" height="57" backcolor="#e6e6e6"/> <imageexpression><![cdata[new file($p{image}, "images/flower-logo.png")]]></imageexpression> </image> 

to flower image applying background colour. coming in other formats except .xls format. problem excel format.

jasperreports xls exporters support standard excel color palette. think can see color list here. http://dmcritchie.mvps.org/excel/colors.htm


Comments

Popular posts from this blog

JQuery Autocomplete without using label, value, id -

c++ - Accessing inactive union member and undefined behavior? -

JAVA - what is the difference between void and boolean methods? -