I have a CheckBox TreeView that is backed by several tens of thousands of TreeItems. It uses a Cell Factory.
In the application, I provide a search that seeks a match in the textual content of the TreeItems. That part is easy and I get an int index of a TreeItem from a successful search.
However, I cannot work out how to programatically open and display the chosen node that has been found in the TreeView.
As I understand it,
refers to the visible state of the TreeView i.e. index does not refer to the TreeItems themselves but only those that are visible on the screen. I can't see a way to achieve what I want.
Can anyone help please? :)