Question

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.

Était-ce utile?

La solution

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.

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