Defining color for a band background

1

Hello community,

 

is there a way to set a backgroung color for a report band (e.g. for the detail band)? If I select the band in iReport, there is no backcolor property as e.g. when selecting a text field.

I really miss this feature, it is available in Crystal Reports and I use it in many reports. With Crystal one can even define a condition depending upon the background should be rendered.

 

Thanks & regards,

Peter

peter_tonev's picture
Joined: Jun 24 2013 - 4:45am
Last seen: 5 years 9 months ago

1 Answer:

1

OK, I found it out myself. Put a rectangle with the specified color in the background of your data fields, set "Opaque" checked, set the Stretch Type property to "Relative to Band Height", done.

Cheers,

Peter

peter_tonev's picture
Joined: Jun 24 2013 - 4:45am
Last seen: 5 years 9 months ago

I had tried this approach and working nicely when i download report in pdf format but not work when I download same report in doc fromat,can you give any solution/sugestion to my problem.

abu.srs - 6 years 1 week ago

Hi, sorry for the late answer - I was on vacation.
I tested this only with HTML output and unfortunately don't have any expirience how it works with the rest output formats. You could possibly try to first output as HTML and then export from it into .doc, maybe it could work then.

peter_tonev - 5 years 11 months ago
Feedback
randomness