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.

duplicate component

Hugo Hanisch
10 years ago Apr 09, 2012 9:57pm
Mathias Clerc
10 years ago Apr 10, 2012 1:00am
Eric Roberge
10 years ago Apr 10, 2012 1:02am
Hugo Hanisch
10 years ago Apr 10, 2012 12:53pm
Mathias Clerc
10 years ago Apr 11, 2012 12:09am

You can do table2.setComponentDataSource(table1.getComponentDataSource()) to share the same data.
And iterate over the listeners of table1 and add them to table2.

That should already take care of most of it.

Hugo Hanisch
10 years ago Apr 11, 2012 1:54pm