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.
Lazy Loading for Treetable
For my application I need a Treetable, where the child items are loaded lazyily when the user clicks on the expand icon.
For each "parent" entry in the Treetable, I know the exact number of child items in advance (if this information is relevant to you).
Is such a treetable lazy loading possible with vaadin?
Well, you can always listen for node expand and collapse events and add and remove the items in the listener. See this example.
Note that if the TreeTable is editable, you could have performance issues because of #17838, but if it's not editable, that's not a problem.