Make hidden table column take no space in SSRS 2008 R2

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-03 22:33:47

I think you are looking at the Hidden property of the column. Something that is hidden will still take up space. What you want to change is the Visibility of the column. Right click on the column header and click Column Visibility and set it there.

Joey

It looks like you can hide groups, and groups can be rows or columns.

Click the down-arrow next to "Column Groups" at the bottom of the Design pane, and turn on Advanced Mode. Modify the Hidden property of the Static group representing the desired column. Poof! You've made the entire column take up no space.

I struggled with this and came up with a workaround/solution.

In my scenario it was critical to have the RowGroups EffectiveDate, Description AND TransactionID. I wanted to hide the TransactionID column, because it was part of the grouping I couldn't set the Columns Visibility.

Before

After

So what I did was Merge Cells for the Description/TransactionID Header (and called it Transaction Type) and also for the first row of the tablix "Opening Balance".

Set the TransactionID textbox Hidden: True

The trick was to make the [DESCRIPTION] Right BorderStyle: None

Then set the Cell under [TRANSACTIONID] Top BorderStyle: Solid and Top BorderWidth 0.5

Alternatively make the fore color of the column you want to hide white and set border styles appropriately.

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