I am using this cellFactory here to get a ListView
which has deselecable Cells.
But when I call listView.getSelectionModel().clearSelection()
and then click some other Node, everytime the first cell gets selected.
Debugging brought me to the ListView.class
file to line 374 where the InvalidationListener
is called and selects the first one.
Is it possible to somehow disable this Listener so that I can select no cell in my ListView
?
Thanks!