Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » How to: Hide and show columns of TableViewer/Table
How to: Hide and show columns of TableViewer/Table [message #464788] Thu, 15 March 2007 12:50 Go to next message
Daniel Krügler is currently offline Daniel KrüglerFriend
Messages: 853
Registered: July 2009
Senior Member
Hello,

I have the following usecase to realize:
Using a TableViewer with a statically known
number of created columns the user wants
*during* runtime of an existing table
hide/reshow arbitrary columns. Note, that
there is *no* request to add *new* columns,
but simply the fact that currently visible
columns should be hidden and made visible
again.

I would appreciate any ideas!

Thanks in advance,

Daniel Krügler
Re: How to: Hide and show columns of TableViewer/Table [message #464792 is a reply to message #464788] Thu, 15 March 2007 13:03 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Look at the snippets there a some of them deal with your problem:

http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jface.s nippets/Eclipse%20JFace%20Snippets/org/eclipse/jface/snippet s/viewers/

Tom

Daniel Krügler schrieb:
> Hello,
>
> I have the following usecase to realize:
> Using a TableViewer with a statically known
> number of created columns the user wants
> *during* runtime of an existing table
> hide/reshow arbitrary columns. Note, that
> there is *no* request to add *new* columns,
> but simply the fact that currently visible
> columns should be hidden and made visible
> again.
>
> I would appreciate any ideas!
>
> Thanks in advance,
>
> Daniel Krügler


--
B e s t S o l u t i o n . a t EDV Systemhaus GmbH
----------------------------------------------------
tom schindl Eclipse JFace Committer
Re: How to: Hide and show columns of TableViewer/Table [message #464796 is a reply to message #464792] Thu, 15 March 2007 13:21 Go to previous message
Daniel Krügler is currently offline Daniel KrüglerFriend
Messages: 853
Registered: July 2009
Senior Member
Tom Schindl wrote:
> Look at the snippets there a some of them deal with your problem:
>
> http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jface.s nippets/Eclipse%20JFace%20Snippets/org/eclipse/jface/snippet s/viewers/
>

Thank you very much, Tom!

Greetings from Bremen,

Daniel
Previous Topic:key binding
Next Topic:LabelProvider with IColorProvider is not working?
Goto Forum:
  


Current Time: Sat Oct 12 16:12:10 GMT 2024

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

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

Back to the top