title: Show/Hide Column Header on Toggle in SSRS
body: <p>I am working on a requirement that allow me to show columns when a user clicks on "+" (expand a row), and hides the column when a user clicks on "-" collapse a row.</p>
  
  <p>So for example, when all rows are collapsed, report looks like:</p>
  
  <p><a href="https://i.stack.imgur.com/nZeMs.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nZeMs.png" alt="enter image description here"></a></p>
  
  <p>When a user click on A to expand the a row in the report, then report should look like</p>
  
  <p><a href="https://i.stack.imgur.com/4dzU2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4dzU2.png" alt="enter image description here"></a></p>
  
  <p>Please note that COL4 only shows up when a row expands.</p>
  
  <p>I have tried to set the visibility properties but the result I am getting like </p>
  
  <p><a href="https://i.stack.imgur.com/dAvkW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dAvkW.png" alt="enter image description here"></a></p>
  
  <p>If I am trying to set the header textbox properties getting an error like.</p>
  
  <p>"toggle item must be the text boxes that share the same scope as hidden item or are in a scope that contains the hidden item, and cannot be contained within the report item unless current grouping scope has a parent"</p>
  
  <p>I am Using Matrix Table</p>