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

borboss

04/22/2018, 4:26 PM
Good day! I have an observableList of data classes objects. I update them sometimes using replaceAll method with selector. I have a TableView, created from this observableList. But when the selected item of TableView is updated than the selection becomes null. I made a wrapper class for this data class and change the data class in it’s field, but in this case I need to call invalidate on observable list. Is there a slightly less uglier method to prevent tableview from losing selected item?