Page 1 of 1
Alternate Row Group Color
Posted: Tue Aug 15, 2023 3:57 pm
by Eddy78
I have a report that is a grouped report. Is there a different expression I can use display the highlighting in grouped rows rather just one row per group. Which is what I'm getting currently when I use the Condition (Line % 2 == 1 ). I would like the first group of two to have a white background on both rows and then the next group of three to be all gray . The last group of one to be as it is. See the attachment below. Thanks in advance for your help.

- Grouped Report Highlight.png (9.96 KiB) Viewed 13199 times
Re: Alternate Row Group Color
Posted: Wed Aug 16, 2023 9:49 pm
by Lech Kulikowski
Hello,
You can use the GroupLine variable and expression that you need.
Thank you.
Re: Alternate Row Group Color
Posted: Thu Aug 17, 2023 2:00 pm
by Eddy78
Thanks Lech. I was doing it right but all along I had it set on the DataBand instead of the GroupHeaderBand. It works now thanks.

- Abc.png (16.97 KiB) Viewed 13160 times
Re: Alternate Row Group Color
Posted: Fri Aug 18, 2023 9:57 am
by Lech Kulikowski
Hello,
You are welcome.