ujbi Posted January 15, 2007 Share Posted January 15, 2007 hello, I want to set the background color of a row in the details band. A row consists of an opaque rectangle with gray backgound and foreground, 3 transparent textfieds upon the rectangle. In iReport1.2.8 the layout is displayed correct, but the hmtl export created with jasperreports1.2.8 does not display the background color. I've browsed the generated html, it's missing the background color setting.Someone here in the forum posted that this is a bug in jasperreports ? In version 1.3.0 the bug is still there. Gernot Link to comment Share on other sites More sharing options...
wegnerk Posted January 16, 2007 Share Posted January 16, 2007 Hi, i am not sure if this is a bug. Don't know exactly how html-export works, but it is possible to set a parameter while exporting, where you can set some html-background true or false. Perhaps it has something to do with this point. Code:(JRHtmlExporterParameter.IS_WHITE_PAGE_BACKGROUND, Boolean.FALSE) So, perhaps you have to look in that direction. Link to comment Share on other sites More sharing options...
lucianc Posted January 16, 2007 Share Posted January 16, 2007 This is not a bug, the HTML exporter cannot handle overlapping report elements (like your rectangle which is placed under the text fields), see this FAQ. You can use frames to set background colors for report bands, they will be properly exported in HTML. HTH,Lucian Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now