Hello,
I am using reportviewer control, It is a table based report and I have many
columns. Is it possible to give different color to each row so that users
will easily track the same line.
Thanks,
Jim.Yes. Click on the row selector of the table to highlight the entire row in
Layout view, then in the Properties sheet go to the BackgroundColor property.
Use an expression for the color. The expression should be something like:
=iif(RowNumber("DataSet1") mod 2 = 1, "WhiteSmoke", "LightCyan")
and obviously have your own colors instead of the examples WhiteSmoke and
LightCyan. also replace DataSet1 with tne name of your dataset.
HTH
Charles Kangai, MCT, MCDBA
"JIM.H." wrote:
> Hello,
> I am using reportviewer control, It is a table based report and I have many
> columns. Is it possible to give different color to each row so that users
> will easily track the same line.
> Thanks,
> Jim.
>
No comments:
Post a Comment