A more idiomatic tfx way to do this would be with ...
# tornadofx
g
A more idiomatic tfx way to do this would be with a TreeCellFragment (I think) - but I would recommend continuing on your current path because I think you are close to what you want... If you post your code again once it's working I will try to convert it for you.