How do alternate row colors in an SSRS 2008 report? -


i'm trying alternate row colors in 1 of reports. following advice web, i've tried putting background color of rows in question:

=iif(rownumber('manager') mod 2, "lightblue","white") 

where manager name of row group.

but make color alternate every time value present. , of rows aren't supposed colored colored. don't it, perhaps fact there's column group messing things somehow?

i've tried numbering each row in query , going off still same weirdness.

and tried returning color in query , gets stranger because every single row colored light blue, , again ones aren't supposed colored. visual studio being buggy suppose?

rownumber('manager') resets 1 when break in manager group. rows under manager may toggle.

=iif(rownumber(nothing) mod 2=0, "lightblue","white") seems work ok nothing in group.

as said, can number each row in result set (identity column?). want check value of numbered column rather use rownumber function.

=iif(fields!id.value mod 2 = 0, "lightblue","white")


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -