Is there any way to hide the header of a TreeTableView in JavaFX?

I am asking, because I have treestructured data which I always want to present within three columns, whereas two of them always will have the same size. So there is no need for the user to modify any columnspecific properties. Also there wont be the possiblity of filtering, sorting the data, since it is just not necessary.

So I am wondering if it is possible to hide the header of the TreeTableView, because it just costs space. Within the documentation as well as in the sources, I couldnt find any hints to do so.

有帮助吗?

解决方案

Of course jewelsea already answered that question here. Just the topic of the question was little misleading, but it works the same way for TreeTableView.

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