Jump to content
Changes to the Jaspersoft community edition download ×

alternating color bands


2005 IR Help

Recommended Posts

By: sixteenofour - sixteenofour

alternating color bands

2004-12-08 07:00

Hi experts,

 

I need a report with alternating color band in the report. How can I achieve it?

 

my approcah was....

 

use the JasperPrint class and get the list of pages(JRPRintPages) in the report. Next, from the each page, get the list of Elements(JRPrintElement) in the report. Next I use the JRElement's setBackcolor() method to assign the color to the elements in that row. But this is not working... how can I set the back color of a JRPRintElement object?

 

please help me...

 

regards,

Sixteenofour

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...