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.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Table item selection listener..
I hava a table which supports multi-select.
I want to add listener to the table. When I select/cancel a item, the listener should be different.
I tried addItemClickListener but it is called whenever I click an item which doesn't distinguish between select and cancel select.
I think what you are trying to do should be achievable by using addValueChangeListerner, since the value of the table is the selection.
If you change to use Grid instead, I would recommend trying SelectionEvent. This can be done by using addSelectionListener.