Hide/Show column [message #450611] |
Wed, 16 February 2005 09:57 |
Eclipse User |
|
|
|
Originally posted by: swt.anderlecht-online.be
Hi,
Is it possible to hide and show columns with swt?
Or would I better use swing?
Thx in advance
Pieter
|
|
|
|
Re: Hide/Show column [message #450614 is a reply to message #450612] |
Wed, 16 February 2005 11:22 |
Eclipse User |
|
|
|
Originally posted by: swt.anderlecht-online.be
thx for that tip Peter!
But I'm having @ the moment probs with setInput ( .. ) :(
I'm going to try to explain my situation...
tv.setInput(lijst);
tv = TableViewer
list = ArrayList with Person-objects (1 row in table = 1 Person)
but he gives an error on that setInput line ... :S
java.lang.ClassCastException
What kind of 'thing' is the argument of setInput ? 'an object' ... :S
Thx in advance !!!!!
Pieter
Peter Goetz wrote:
> Pieter Vunckx wrote:
>> Hi,
> Hi,
>>
>> Is it possible to hide and show columns with swt?
>> Or would I better use swing?
> We have set the width of the column to 0, that worked fine.
> To set it invisible is not possible in SWT, as far as I know.
>>
>> Thx in advance
> Hope it helps.
>>
>> Pieter
> Peter
>>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03415 seconds