SSRS - How to hide a row while context menu “Row Visibility” is disabled?

半腔热情 提交于 2019-12-13 02:37:35

问题


I am using SSRS 2008 integrated into VS 2008. All I want to do is to hide a Note row based on parameter, e.g my param is "Display Note". However my row which is containing my Note is somehow disabled "Row Visibility" feature. Please advise how I can hide Note row which does not leave a gap there.

Row Visibility is disabled

Regards,

Kelvin


回答1:


The Row Visibility property there is disabled because it's a header row. You can add a fake row group to control visibility of the last column group.

  1. Move the Note column down as the last group.
  2. Right-click on your first row group cell and select Add Group -> Adjacent Above.
  3. Set the grouping expression for this new row group to "1" and remove any sorting.

  1. Delete the header row that had the Note grouping, but make sure you only delete the rows, not the group.

  1. Now you can set the visibility of your top row group which will cover the Note column group.



回答2:


Click on the Row-group to select it and then, in the properties pane, set the "Hidden" property to True.



来源:https://stackoverflow.com/questions/37288571/ssrs-how-to-hide-a-row-while-context-menu-row-visibility-is-disabled

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!