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.

有帮助吗?

解决方案

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top