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.

Eventhandler for TwinColSelect component

Azhar Jodatti
6 years ago Aug 24, 2015 6:09pm
Kim Leppänen
6 years ago Aug 27, 2015 5:55am

The client-side doesn't send those events, so you would have to modify the client-side logic in order to receive such events. You might be able to do this by either extending the client-side code (not sure, because there might be private methods/variables that you would need access to) or you might be able to do it using an extension.

The TwinColSelect is actually a fairly simple component that can be replicated completely on the server-side. An option is to replicate the functionality using a CustomField and a couple of ListSelects and then attach listeners to the them. I've actually created an add-on using this approach that adds functionality to the TwinColSelect. You can consider using that as a base for your implementation or extending/modifying my solution.

Azhar Jodatti
6 years ago Aug 27, 2015 6:58am