When having a tableview with multiple selection activated, is there a way to not have fun <S> TableView<S>.onSelectionChange(func: (S?) -> Unit) = trigger an event by element selected AND unselected in the table?
bjonnh
05/03/2018, 11:34 PM
sampletable.selectionModel.selectedItems.addListener { c: ListChangeListener.Change<out Sample> -> … } seems to do it