Queston on Odd/Even Style

Stimulsoft Reports.NET discussion
Post Reply
euregon
Posts: 21
Joined: Thu Apr 21, 2011 8:13 am
Location: Germany, Augsburg

Queston on Odd/Even Style

Post by euregon »

Hi,

we are using a GroupHeaderBand and a DataBand - similar to the "Simple Group" report of the sample.

For alternating row colors we use Odd/Even Styles.

As the "Simple Group" our report starts with random Odd/Even style for the very first item of a group.

However we want to reset the Odd/Even Style for every new Group Item.

How can this be done?

Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Queston on Odd/Even Style

Post by Alex K. »

Hello,

Please send us your report with sample data for analysis.

Thank you.
euregon
Posts: 21
Joined: Thu Apr 21, 2011 8:13 am
Location: Germany, Augsburg

Queston on Odd/Even Style

Post by euregon »

Here the Sample application.

The report goes:
A

persons starting with A

B

persons starting with B

C

persons starting with C
How can the odd/even style be reset, that every capitalized letter starts with the same odd or even style?

In the sample A and B start with the grey style and C with the white style.

Any help would be appreciated. Thank you.
Attachments
959.WpfApplication.zip
(3.35 KiB) Downloaded 402 times
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

Queston on Odd/Even Style

Post by Jan »

Hello,

In progress...

Thank you.
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

Queston on Odd/Even Style

Post by Ivan »

Hello,

To select the odd / even value, the Position of the datasource is used.
So when using grouping this is working not properly.
In this case, instead of Odd / Even Styles please use the Condition property of the databand.
Please check the report sample in attachment.

Thank you.
Attachments
965.Report sample.zip
(4.39 KiB) Downloaded 418 times
euregon
Posts: 21
Joined: Thu Apr 21, 2011 8:13 am
Location: Germany, Augsburg

Queston on Odd/Even Style

Post by euregon »

Thank you Ivan for your help.

This works nice & smooth.
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

Queston on Odd/Even Style

Post by Andrew »

Hello,

Perfect!

Have a nice day.
Post Reply