title: How to hide/delete column in SWT table
body: <p>Which approach to use to have ability to hide/delete columns in the table in SWT (in Eclipse plugin in particular)?</p>
  
  <ol>
  <li>A cannot transfer this functionality to rows, since I need insert and hide(or delete) of both rows and columns.</li>
  <li>I tried to delete them with TableColumn.dispose(), but according ColumnWeightData in the layout was not deleted and resetting the whole table layout with new TableLayout did not delete information about the columns from the layout.</li>
  <li>I tried to create all the needed columns, and hide with setWidth(0) those that should be hidden/deleted. The sample code that I written is <a href="https://gist.github.com/1052028" rel="nofollow noreferrer">here</a>. This approach is not good:
  3.1. It does not scale. In my case the maximum quantity of columns may be several thousand with only few really needed by the user.
  3.2. Dealing with resizing is really a hell. AFAIU, even after setResizable(false) column may be resized if the parent component is resized. To deal with it I need to write huge listeners for parent component. I didn't try yet.</li>
  </ol>
  
  <p>So should I</p>
  
  <ol>
  <li>Investigate disposing table columns further and use it?</li>
  <li>Stack with setWidth(0) for a while, as I have not met scaling issues yet?</li>
  <li>Look in the direction of some third-party table components (Nattable...)? - If yes, preferably open-source, as my Eclipse-plugin is open-source.</li>
  </ol>