jamie-purchase
11/21/2017, 2:20 PMjavafx.scene.control.TreeView
and i want to add some new javafx.scene.control.TreeItem<custom data class>
objects to a node when something is clicked... but i'm having trouble working out how to do this
some JavaFX answers seem to suggest myTreeView.children.addAll
but this is private?
also tried myTreeView.edit( new object )
but that didn't seem to do anything (need to force repopulate?)
this is more of a JavaFX question in fairness but i'm taking inspiration from https://github.com/edvin/tornadofx-samples/blob/master/treeviews/src/main/kotlin/no/tornado/fxsample/treeviews/DemoTreeViews.kt