fabridp Posted April 2, 2009 Share Posted April 2, 2009 Hi all.In detail band I would set report to alternate row output background color.How can I do?Thanks in advance Link to comment Share on other sites More sharing options...
Giulio Toffoli Posted April 2, 2009 Share Posted April 2, 2009 1. Put all the content of your detail band in a frame element (as big as the band, or the section for which you want to set the background.2. Create a style and add to it a contitioned sub-style with opaque set to false and the background color you want. The condition expression can be something like:new Boolean($V{PAGE_COUNT}.intValue()%2 == 0)or (if you use groovy):$V{PAGE_COUNT}%2 == 03. Drag the style over the Frame element (or set the new style for the Frame style property)Giulio Link to comment Share on other sites More sharing options...
rodriguezum Posted July 8, 2009 Share Posted July 8, 2009 hey can you explain me what i am doing wrong? here's the jrxml Link to comment Share on other sites More sharing options...
afaquecena Posted June 17, 2015 Share Posted June 17, 2015 11) Simply take a rectangle set its print when expression as $V{REPORT_COUNT}%2==0 2) keep all the fields inside that rectangle in detail band 3) choose appropriate backcolor for rectangle 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