I want to get color to alternate for the rows in a JasperReports subreport. I have all rows with the same background color but I want it to alternate. Can this be done?
I want to get color to alternate for the rows in a JasperReports subreport. I have all rows with the same background color but I want it to alternate. Can this be done?
Yes you can set up a style inside the JRXML file like this:
and add it to your report elements like this:
You cannot add conditional styles to style template files (e.g.,
.jrtx
files).