Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » How to create Table Dynamically in SWT
How to create Table Dynamically in SWT [message #80955] Mon, 21 February 2005 13:47 Go to next message
Eclipse UserFriend
Originally posted by: siva_bu.yahoo.com

Hi,
I am using Eclipse 3.0.1. I am supposed to create a table for
displaying some statistical information.Based on the users request, i need
to provide the info in a table with different number of columns. i cudn't
redraw the table with different set of columns. Even it is drawn after
assiging null to composite and redrawn the composite and then the table,
the table's content is not visible. Can u help me to sort this problem.
Re: How to create Table Dynamically in SWT [message #81412 is a reply to message #80955] Wed, 23 February 2005 05:15 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: siva_bu.yahoo.com

Do i have an option to delete a TableColumn in SWT instead of dispose?

Everytime, when the screen gets refreshed, i need to create a Table with
certain number of TableColumns. So i have to remove the existing columns
and redraw the Table with different set of TableColumns. Can anyone
suggest me to solve this.
Re: How to create Table Dynamically in SWT [message #81428 is a reply to message #81412] Wed, 23 February 2005 07:47 Go to previous message
Henning Rogge is currently offline Henning RoggeFriend
Messages: 148
Registered: July 2009
Senior Member
Sivakumar schrieb:
> Do i have an option to delete a TableColumn in SWT instead of dispose?
>
> Everytime, when the screen gets refreshed, i need to create a Table with
> certain number of TableColumns. So i have to remove the existing columns
> and redraw the Table with different set of TableColumns. Can anyone
> suggest me to solve this.

Just dispose the columns like you said above... or just dispose a few of
them when you have too many and add some if you need more...

Henning
Re: How to create Table Dynamically in SWT [message #605554 is a reply to message #80955] Wed, 23 February 2005 05:15 Go to previous message
Sivakumar is currently offline SivakumarFriend
Messages: 15
Registered: July 2009
Junior Member
Do i have an option to delete a TableColumn in SWT instead of dispose?

Everytime, when the screen gets refreshed, i need to create a Table with
certain number of TableColumns. So i have to remove the existing columns
and redraw the Table with different set of TableColumns. Can anyone
suggest me to solve this.
Re: How to create Table Dynamically in SWT [message #605556 is a reply to message #81412] Wed, 23 February 2005 07:47 Go to previous message
Henning Rogge is currently offline Henning RoggeFriend
Messages: 148
Registered: July 2009
Senior Member
Sivakumar schrieb:
> Do i have an option to delete a TableColumn in SWT instead of dispose?
>
> Everytime, when the screen gets refreshed, i need to create a Table with
> certain number of TableColumns. So i have to remove the existing columns
> and redraw the Table with different set of TableColumns. Can anyone
> suggest me to solve this.

Just dispose the columns like you said above... or just dispose a few of
them when you have too many and add some if you need more...

Henning
Previous Topic:Action Listener
Next Topic:VE and Debugging are awfully slow ?
Goto Forum:
  


Current Time: Thu Apr 25 11:31:13 GMT 2024

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

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

Back to the top