Question

Inside a TableViewer I want to add Columns which are TreeNodes. How can I implement such type of TableViewer which has columns which expand and collapse.

Était-ce utile?

La solution

Why not use a TreeViewer? Here is a small example on how to use a Tree. Using a TreeViewer is very similar to a TableViewer.

It will look similar to this:

enter image description here

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top