Reputation: 219
I am new to rdlc, in rdlc I have a tab lix that can have max of 10 row, I want to assign each row a unique color. I found a solution for even and odd row color, but I want to assign each row a unique color, how is it possible?
Upvotes: 0
Views: 1036
Reputation: 3763
Best way I can think of is to make the colour of the row based on a function. Then define an array of 10 colour values and use the RowNumber function to pick which element in the array to use as that rows colour. The choose function would do most of this logic for you:
=Choose(RowNumber(Nothing),"#ffff33","#aaaa66", "#333399")
Upvotes: 2