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.

Was it helpful?

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top