问题
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.
- Move the Note column down as the last group.
- Right-click on your first row group cell and select Add Group -> Adjacent Above.
- Set the grouping expression for this new row group to "1" and remove any sorting.
- Delete the header row that had the Note grouping, but make sure you only delete the rows, not the group.
- 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