| [news.eclipse.platform.swt] Re: remove a TableColumn from a Table |
Hi David,
try:
table.getColumn(int index).dispose();
Ralf
David Raines schrieb:
Is there a way to remove a column from a Table once it has been added?
The snippets from dev.eclipse.org, and and the JavaDocs, explain how to
remove rows from a table: they remove a TableItem, which represents a row. But you can't directly remove the column.
I can re-fill the table without the items of the column, but the column name still appears at the top of the table.
Am I missing something? I there a good workaround?
Thanks.