1

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!

Community
  • 1
  • 1
Tobi
  • 924
  • 1
  • 10
  • 39
  • Which JDK version are you using? If it's 8u25 or earlier, I think this is due to a bug; try upgrading to the latest version and see if that fixes it. – James_D Mar 25 '15 at 01:08
  • No I am using 8u40 due to the new MessageBoxes – Tobi Mar 25 '15 at 07:28

0 Answers0