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.

TUTORIALVaadin lets you build secure, UX-first PWAs entirely in Java.
Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Calling javascript synchronously by Enver Haase, 1 month ago
TreeTable and Containers
Hello everyone!
I wanted to display data in a TreeTable via a BeanContainer. The items look like this:
public class ExampleData {
private String name;
private List<ExampleSub> subs;
// Getters and Setters...
}
public class ExampleSub {
private String name;
// Getters and Setters
}
I would like to display the ExampleSub-objects inside of the ExampleData entries. How can I do this without adding items manually?
Also I organized the ExampleSub objects in another BeanContainer. Is it possible to merge them in some way, so that if I edit an ExampleSub object via the first container, the new data will also be updated in the TreeTable?
Thanks in advance,
Heinz
Last updated on
You cannot reply to this thread.