在报表查看器(rdlc)中,如何通过表达式设置第一列的背景颜色

时间:2022-01-21 08:21:30

I have the background color set for the entire row however it does not work for the first column if the color is set to an expression. If I just set it to a color i.e. red it works just fine. If I insert a dummy column to the left it works just fine (but the dummy column does not work, presumably because it is first??).

我为整行设置了背景颜色,但如果将颜色设置为表达式,则它不适用于第一列。如果我只是将它设置为一种颜色,即红色它就可以正常工作。如果我向左边插入一个虚拟列,它就可以正常工作(但是虚拟列不起作用,大概是因为它是第一个??)。

1 个解决方案

#1


1  

Still no clue why it happening, add a dummy first column is my current solution.

仍然不知道为什么会发生这种情况,添加虚拟第一列是我目前的解决方案。

#1


1  

Still no clue why it happening, add a dummy first column is my current solution.

仍然不知道为什么会发生这种情况,添加虚拟第一列是我目前的解决方案。