jwzumwalt Posted February 5, 2014 Share Posted February 5, 2014 I have followed the instructions here http://javanetspeed.blogspot.com/2013/02/more-ireport-tip-and-tricks.html to have alternate stripped data (detail block) rows, but it does not work. Every row becomes colored. I am using ireport 5.5.0This technique uses the conditional style of $V{REPORT_COUNT}.intValue() % 2 == 0I noticed it uses the REPORT_COUNT parameter but this is not listed in the parameters list of the report.What am I doing wrong? Link to comment Share on other sites More sharing options...
Xecu Posted February 7, 2014 Share Posted February 7, 2014 Can you post the relevant part of your report? Also, are you using a subreport ?REPORT_COUNT is not a Parameter but a Variable of your Report (thats why its prefixed with $V instead of $P). Link to comment Share on other sites More sharing options...
cadetedasilva Posted August 14, 2017 Share Posted August 14, 2017 I have the same problem.I folowed the instructions from:https://community.jaspersoft.com/questions/539170/how-show-records-alternate-colors andhttps://stackoverflow.com/questions/8980439/alternating-row-color-for-jasperreports Link to comment Share on other sites More sharing options...
cadetedasilva Posted August 14, 2017 Share Posted August 14, 2017 I solved my problem. Maybe is the same for you.inside the tag conditionExpression was missing the tag style with the attributes: mode="Opaque" and backcolor="#C0C0C0" 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