Alternate Row Group Color

Stimulsoft BI Designer discussion
Post Reply
Eddy78
Posts: 16
Joined: Fri May 05, 2023 4:45 pm

Alternate Row Group Color

Post 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
Grouped Report Highlight.png (9.96 KiB) Viewed 9231 times
Lech Kulikowski
Posts: 6271
Joined: Tue Mar 20, 2018 5:34 am

Re: Alternate Row Group Color

Post by Lech Kulikowski »

Hello,

You can use the GroupLine variable and expression that you need.

Thank you.
Eddy78
Posts: 16
Joined: Fri May 05, 2023 4:45 pm

Re: Alternate Row Group Color

Post 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
Abc.png (16.97 KiB) Viewed 9192 times
Lech Kulikowski
Posts: 6271
Joined: Tue Mar 20, 2018 5:34 am

Re: Alternate Row Group Color

Post by Lech Kulikowski »

Hello,

You are welcome.
Post Reply