| [news.eclipse.platform.swt] Re: Hide columns in table |
I would like to hide certain columns, or provide a user with a menu to hide certain columns in a Table or TableTree. For example, in an e-mail client I would have "Sender" "Subject" "Date" columns, and I want to hide, say, the "Date" column. Or if I run my application in regular mode as opposed to development/debug mode, I would like to show or hide columns accordingly. Any suggestions on how to accomplish this?
Thanks, Lindsey.
Hiding a column:
column.setWidth(0); column.setResizeable(false);
Yves