Re: How to dynamically set the background color of a field? Thanks.
2009-12-10 19:01:31 GMT
Hi Cindy, 1. You can try to use styles of iReport and apply some predefied style according to value of dynamically passed parameter. 2. Before generating the report you can parse jrxml using some lighter language (Groovy, Ruby), find needed tag and correct value of appropriate property. Hope that would help. Taras c.fr wrote: > > Any solution? > Please, someone? > > Cindy > > > mctpursuer wrote: >> >> Hi, I need to dynamically set the background color of a field in the >> report, e.g. a field called first-level manager, second-level manager, if >> the first-level manager.isCurrentManager == true, then I want to give the >> first-level manager a particular background color, how can I archieve >> this in JasperReport? Thanks a lot. >> >(Continue reading)