Loading...
Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

TreeTable select / deselect issues

Sevket Kizanlik
5 years ago Apr 19, 2016 1:01pm
Teppo Kurki
5 years ago Apr 19, 2016 1:21pm

Hi,

the ItemClickListener reports a click on an item, and obviously an item cannot be null in any case. I think you need to use the ValueChangeListener - then you should get null from the ValueChangeEvent once you deselect the item (and no other items are selected in case of multi-select).

-tepi

Sevket Kizanlik
5 years ago Apr 19, 2016 1:45pm
Teppo Kurki
5 years ago Apr 19, 2016 1:49pm