How to create Table Dynamically in SWT [message #80970] |
Mon, 21 February 2005 08:47  |
Eclipse User |
|
|
|
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 #81045 is a reply to message #80970] |
Mon, 21 February 2005 10:47  |
Eclipse User |
|
|
|
Sivakumar wrote:
> 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.
This sounds like an SWT programming issue, and it really belongs in the
eclipse.platform.swt newsgroup.
I suggest that you create an SWT Snippet (see:
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/plat form-swt-home/dev.html#snippets)
illustrating your problem and post it there asking for help.
Of the top of my head, the first thing I'd check is to make sure you set
a layout manager on your parent Composite.
Best regards,
Dave Orme
--
Visual Editor Project lead
http://www.db4o.com -- The Open-source Java Object Database
|
|
|
Re: How to create Table Dynamically in SWT [message #605478 is a reply to message #80970] |
Mon, 21 February 2005 10:47  |
Eclipse User |
|
|
|
Sivakumar wrote:
> 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.
This sounds like an SWT programming issue, and it really belongs in the
eclipse.platform.swt newsgroup.
I suggest that you create an SWT Snippet (see:
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/plat form-swt-home/dev.html#snippets)
illustrating your problem and post it there asking for help.
Of the top of my head, the first thing I'd check is to make sure you set
a layout manager on your parent Composite.
Best regards,
Dave Orme
--
Visual Editor Project lead
http://www.db4o.com -- The Open-source Java Object Database
|
|
|
Powered by
FUDForum. Page generated in 0.28115 seconds