Home
Analytics
Alternating row colors inside a group
Soelby
Hi,
I have a table with 1 group. My client require alternating row colors, but want row color to start with white background inside each group.
I have done regular alternating row colors, but since groups contain different number of elements, I cannot assure white background comes first inside each group?
I have looked for solutions to manually create an expression reading contents of grouped row from previous dataSetRow. Have not been able to find out how this is done.
How can I accomplish this in BIRT.
I am on 3.7.2
Glad for any assistance.
/Stephan
Find more posts tagged with
Comments
Hans_vd
Hi Stephan,
Try this:
- go to the binding tab of your table and add an RUNNINGCOUNT aggregation aggRunningCount that aggregates on your_group
- now modify the highligth condition like this: aggRunningCount % 2 Equal to 0
Hope it helps
Hans
Soelby
Hi Hans,
Your suggestion did the trick for me! Thanks for your speedy reply!
To help others with similar isses, I've attached some screenshots to illustrate how I did it.
/Stephan