The magic here is the `onCommit` handler in `Perso...
# tornadofx
e
The magic here is the
onCommit
handler in
PersonModel
. It reads the data from the viewmodel after commit and creates a new Person object, which is then inserted into the item property of the viewmodel.