Vaadin Flow Treegrid - empty rows after expand

278 Views Asked by At

I use a TreeGrid in Vaadin 19.0.6 and add items like this:

final TreeData<BEAN> treeData = dataProvider.getTreeData();
treeData.addItems(items, getChildren::apply);

When I select a root-node which contains children and after that expand this root node, the children are expanded but the other root nodes disappear.

treegrid

If I collapse/expand this node several times, the items are back again. Any ideas why this is happening?

Thanks for help! Daniel

0

There are 0 best solutions below