Jump to content
We've recently updated our Privacy Statement, available here ×

Multiple colors to rows in alternate manner


rajuchacha007

Recommended Posts

Hello expert,

Is there any mechanism in ireport to apply multiple colors to rows of the database. Is it achievable in ireport?

In simple words, if I execute an query and get data.

Sr. No.    EmployeeName     City               Age

1             ABC                      LONDON    40

2             PQR                      PARIS           35

3             XYZ                      NEW YORK 45

4             STU                       TOKYO        50    

Is it possible to achieve in following way?

Sr. No.    EmployeeName     City               Age

1             ABC                      LONDON    40

2             PQR                      PARIS           35

3             XYZ                      NEW YORK 45

4             STU                       TOKYO        50                   ?

 

Is it poible to apply colours in this way? I would welcome your guidelines and suggestions.  Thanks in advance.

Best regards. 

 

 

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic


Hi,

    You can define a style and then using conditional styles can define X styles to change colors. How many colors do you need to use in your report?. If you need just two colors instead styles you can use a "zebra" aproach (alternate colors in two overlapped fields with a Print When Expression), each field with a color.

 Good luck!

Grettings from Argentina!

Link to comment
Share on other sites

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...