https://kotlinlang.org logo
#tornadofx
Title
# tornadofx
s

sbyrne

12/20/2018, 4:03 PM
If I have a tree of immutable items (
class Foo
) displayed in a
TableTreeView
, and I have a
Label
(outside of the
TableTreeView
) that should display the result of
Foo::getSomething()
(which returns
String
) of the selected tree item (and update when the selection changes). Is there a way to bind that to an observable? Or do I have to write a listener to do the update?