This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes problem with jasper report excel format Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "problem with jasper report excel format" Watch "problem with jasper report excel format" New topic

problem with jasper report excel format

Satish Palli

Joined: Jun 13, 2006
Posts: 3
<reportElement mode="Opaque" x="260" y="5" width="255" height="15" forecolor="#ffffff" backcolor="#333333" style="Arial_Bold"/>

i wrote code to set the back color for an excel fromat report in jasper reports.
It is showing forecolor, but not showing backcolor

could any one help me in this issue
Rajan Chinna
Ranch Hand

Joined: Jul 01, 2004
Posts: 320
I think you should set color attribute at the report top level element.
By the way can't you change the color in the iReport and watch the preview view instead of changing the .jrxml file?
wood burning stoves
subject: problem with jasper report excel format