Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » TableViewer question.
TableViewer question. [message #436799] Mon, 24 May 2004 15:38 Go to next message
strus is currently offline strusFriend
Messages: 113
Registered: July 2009
Senior Member
Hi,

Can I add/remove columns to a TableViewer without rebuilding it completly ?

Please help me.
Re: TableViewer question. [message #436911 is a reply to message #436799] Wed, 26 May 2004 10:37 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: akky_007in.yahoo.co.in

strus i dont think u can add columns dynamically. you will have to rebuild
the table viewer.

strus wrote:

> Hi,

> Can I add/remove columns to a TableViewer without rebuilding it completly ?

> Please help me.
Re: TableViewer question. [message #436956 is a reply to message #436799] Wed, 26 May 2004 17:02 Go to previous messageGo to next message
Jean-Christophe Deprez is currently offline Jean-Christophe DeprezFriend
Messages: 133
Registered: July 2009
Senior Member
>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<

On 5/24/2004, 8:38:51 AM, strus_fr@yahoo.fr (strus) wrote regarding
TableViewer question.:


> Hi,

> Can I add/remove columns to a TableViewer without rebuilding it completly
?

> Please help me.

I was just looking into this last night. I found posts saying that you
call
TableColumn.dispose to remove. I assume to re-add you use new
TableColumn( Table, style, index ).

-- d
Re: TableViewer question. [message #437002 is a reply to message #436956] Thu, 27 May 2004 22:33 Go to previous message
strus is currently offline strusFriend
Messages: 113
Registered: July 2009
Senior Member
nobody@nowhere.com a écrit :
>
>>>>>>>>>>>>>>>>>>>Original Message <<<<<<<<<<<<<<<<<<
>
>
> On 5/24/2004, 8:38:51 AM, strus_fr@yahoo.fr (strus) wrote regarding
> TableViewer question.:
>
>
>
>>Hi,
>
>
>>Can I add/remove columns to a TableViewer without rebuilding it completly
>
> ?
>
>
>>Please help me.
>
>
> I was just looking into this last night. I found posts saying that you
> call
> TableColumn.dispose to remove. I assume to re-add you use new
> TableColumn( Table, style, index ).
>
> -- d
Yes it is what I thought ... not very fast ... see my last post on table
refresh
Previous Topic:TableViewer and adding rows
Next Topic:TableTree with Microsoft Project Look and Feel
Goto Forum:
  


Current Time: Fri Apr 26 06:58:58 GMT 2024

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

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

Back to the top