I have a JavaFX TreeView. Some of the nodes can be unselectable. An unselectable node can have child nodes that are selectable.
I can disable the TreeCell with .setDisable, then the node is correctly unselectable (by mouse). However setting the cell as disable also disables the expand/collapse arrow. Also weirdly I can still select and expand/collapse via keyboard.
Is is possible to make certain nodes unselectable but still allow expanding them?