I am trying to make things so that when I programmatically and/or manually select a given item in the tree (column 1, left-most column) it automatically scrolls horizontally in column 1 only to show the item (if the item is too wide for column 1 it should scroll so that the start of the item's string is positioned up against the left of the control).
The first step would be to understand what possibilities if any there are for somehow setting a ScrollPane
for this first column. I tried in SceneBuilder to insert a ScrollPane
between the TreeTableView
and the first TreeTableColumn
. I wasn't surprised that this didn't work.
I really hope the answer to this is not "impossible"! Given the nature of trees and the fact that sub-items must be indented to the right by some distance for each depth, it seems a pretty essential element of functionality/design of this (otherwise wonderful) control!