设置 Reporting Services 表中行的背景颜色不会影响所有单元格
我有一个 Reporting Services 2005 报表,其中有一个带有条件设置的背景颜色的表格行。各个单元格没有设置该属性。当我运行报告时,结果表中的一列没有任何背景颜色。该行中的其他单元格也是如此。我注意到标记导致表格单元格本身被设置,而不是行。相关表格单元格没有通过 html 设置背景颜色。
仅供参考,相关专栏确实有其操作集。
任何想法将不胜感激!
谢谢
I have a Reporting Services 2005 report that has a tablerow with a background color conditionally set. The individual cells do not have that property being set. When I run the report, one of the columns in the resulting table does not have any background color. The other cells in that row do. I am noticing that the markup results in the table cells themselves being set and not the row. The table cell(s) in question do not have background color set via html.
FYI, the column in question does have its action set.
Any ideas would be greatly appreciated!
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我遇到了这个问题,基本上这就是发生的事情......当您设置一行的背景时,在内部设置了每列的背景。如果您在设置行背景后添加一列(或更改一列),则该列的背景将被重置...因此,即使行背景仍然设置,该列也会被清除...您需要返回并设置列的背景(或者仅删除行的背景,然后重置行的背景)以设置行上的所有列。
I ran across this problem and basically here's what was happening... When you set the background for a row, internally the background for each column is set. If you add a column (or change a column) after setting the row background, the background for the column is reset... so even if the row background is still set, that column will be cleared... You'll need to go back in and set the column's background (or just remove the row's background and then reset the row's background) to set all the columns on the row.