Odd/Even row style bug

Stimulsoft Reports.Flex discussion
Locked
RodeoClown
Posts: 15
Joined: Thu Feb 24, 2011 9:43 pm
Location: Australia

Odd/Even row style bug

Post by RodeoClown »

The odd and even row styles do not restart their count within of each group.
Here is an example:
Image
The 'Employment' line should be highlighted, and the 'Starting Balance' line should not.

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

Odd/Even row style bug

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
944.Report sample.zip
(4.39 KiB) Downloaded 657 times
RodeoClown
Posts: 15
Joined: Thu Feb 24, 2011 9:43 pm
Location: Australia

Odd/Even row style bug

Post by RodeoClown »

Hi Ivan,
I checked the attached report and I couldn't see what condition I would need to use on the alternate rows.
I've tried making the databand have a conditional style with an expression of "Line %2 == 0" but this doesn't work.

What condition do I need to set?

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

Odd/Even row style bug

Post by Ivan »

Hello,

We have fixed a few bugs in the last prerelease build.
Please use the last prerelease build from 26-Apr-2011.

Thank you.
RodeoClown
Posts: 15
Joined: Thu Feb 24, 2011 9:43 pm
Location: Australia

Odd/Even row style bug

Post by RodeoClown »

That's fixed it!
Thanks very much!
Andrew
Posts: 4108
Joined: Fri Jun 09, 2006 3:58 am

Odd/Even row style bug

Post by Andrew »

Hello,

Great! Have a nice day.
Locked