Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Adding / Removing TableColumns on-the-fly
Adding / Removing TableColumns on-the-fly [message #449474] Tue, 25 January 2005 12:39 Go to next message
martin is currently offline martinFriend
Messages: 49
Registered: July 2009
Member
Is there any way to set a TableColumn in a table as visible or notVisible?
I want to maintain my table's structure, but just be able to choose which
columns are presented in my UI.
Re: Adding / Removing TableColumns on-the-fly [message #449481 is a reply to message #449474] Tue, 25 January 2005 12:55 Go to previous messageGo to next message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
People have used the following workaround:

column.setWidth(0);
column.setResizable(false);

"martin" <mwilliams5147@hotmail.com> wrote in message
news:ct5emd$qhu$1@www.eclipse.org...
> Is there any way to set a TableColumn in a table as visible or notVisible?
> I want to maintain my table's structure, but just be able to choose which
> columns are presented in my UI.
>
>
>
Re: Adding / Removing TableColumns on-the-fly [message #449513 is a reply to message #449481] Tue, 25 January 2005 15:28 Go to previous message
martin is currently offline martinFriend
Messages: 49
Registered: July 2009
Member
hey,
works perfectly, thanks


Veronika Irvine wrote:

> People have used the following workaround:

> column.setWidth(0);
> column.setResizable(false);

> "martin" <mwilliams5147@hotmail.com> wrote in message
> news:ct5emd$qhu$1@www.eclipse.org...
>> Is there any way to set a TableColumn in a table as visible or notVisible?
>> I want to maintain my table's structure, but just be able to choose which
>> columns are presented in my UI.
>>
>>
>>
Previous Topic:Grid spacing too large on Motif
Next Topic:disposing class attributes
Goto Forum:
  


Current Time: Wed Nov 13 20:04:51 GMT 2019

Powered by FUDForum. Page generated in 0.01811 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top