Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » table redraw problem
table redraw problem [message #289960] Tue, 16 August 2005 00:07 Go to next message
Eclipse UserFriend
Originally posted by: kittyscalgary.yahoo.ca

Hi,everybody:

I use TableViewer and Table to show my data and want to add and remove
column dynanmically.

I tried to dispose the old table and create a new table for my
tableviewer,but nothing is shown.

So, how to show the result when I add or remove a column?

Is anyone familiar with this kind of stuff?

Thanks!
Re: table redraw problem [message #290334 is a reply to message #289960] Wed, 24 August 2005 05:26 Go to previous message
Vladimir Grishchenko is currently offline Vladimir GrishchenkoFriend
Messages: 104
Registered: July 2009
Senior Member
You can reuse your already created table control, TableColumn.dispose() will
remove a column, and you can always add columns to your table. One caveat is
that TableLayout will lay out your table only once, so you may need to
write a custom layout to handle column additions and removals.

Cheers,
Vladimir.

"kittys" <kittyscalgary@yahoo.ca> wrote in message
news:ddraog$p46$1@news.eclipse.org...
> Hi,everybody:
>
> I use TableViewer and Table to show my data and want to add and remove
> column dynanmically.
>
> I tried to dispose the old table and create a new table for my
> tableviewer,but nothing is shown.
>
> So, how to show the result when I add or remove a column?
>
> Is anyone familiar with this kind of stuff?
>
> Thanks!
>
>
Previous Topic:how to create a view like the Package Explorer?
Next Topic:XMLRootElementContentDescriber with schema
Goto Forum:
  


Current Time: Fri Apr 26 03:38:30 GMT 2024

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

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

Back to the top