If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

How to shad Background color of the list for every 4 rows

Started by anjidwh.cognos, 07 Jan 2014 06:19:09 AM

Previous topic - Next topic

anjidwh.cognos

Hi All,

I have list with N-number of records, for the first 4 rows i have to shade the background color in the following way.

1 row - red, 2 row - blue, 3 row - green, 4 row - yellow, similary first next 4 rows also the colors should repeat and so on.

In this way for every four rows the background color format should applicable.

Can anyone helpme out how to achieve this part. Appriciated your help!!

Thanks,
SR

CognosPaul

string style/conditional style with mod(RowNumber(),4)

1=color 1
2=color 2
3=color 3
0=color 4