Make hidden table column take no space in SSRS 2008 R2

前端 未结 3 1538
一向
一向 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 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.

提交回复
热议问题