title: Hide a gridview header column without losing position of other header columns vb.net
body: <p>I would like to hide the header for two columns on a gridview. However I would like the other column headers to remain in their original position not move across to where the hidden columns would have been.</p>
  
  <p>The code I'm using to hide the headers is the following:</p>
  
  <pre><code>For colCount As Integer = 0 To 1
      gvProgressGrid.HeaderRow.Cells(colCount).Visible = False
  Next
  </code></pre>
  
  <p>In the below example the headers should start at the column that contains the first set of blue cells.</p>
  
  <p><img src="https://i.stack.imgur.com/8Jagi.jpg" alt="enter image description here"></p>