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. >> > > -- View this message in context: http://old.nabble.com/How-to-dynamically-set-the-background-color-of-a-field--Thanks.-tp22285675p26732703.html Sent from the jasperreports-questions mailing list archive at Nabble.com. ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ jasperreports-questions mailing list jasperreports-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jasperreports-questions