Make hidden table column take no space in SSRS 2008 R2

前端 未结 3 1545
一向
一向 2021-02-18 20:38

Has anyone figured out a good way to make a hidden table/matrix column take no horizontal space?

I could use some crazy conditionals to dynamically determine the content

相关标签:
3条回答
  • 2021-02-18 20:50

    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.

    0 讨论(0)
  • 2021-02-18 21:11

    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.

    0 讨论(0)
  • 2021-02-18 21:11

    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.

    0 讨论(0)
提交回复
热议问题