Editable treetable for Vaadin 8

Hi,

I’m looking for an editable treetable/grid component for Vaadin 8.
Have anyone an idea ?

Thanks,

17600768.png

The Grid includes a row editor, is that an option? https://demo.vaadin.com/sampler/#ui/grids-and-trees/grid/item-editor

Hi,

Thanks for your reply ! Maybe I should clarify my problem. I wish for a Grid of “A entities”, which contains a collection of “B entities”. I should be able to edit the “B entities” in the grid itself.

Attached picture provides maybe clarification.

Regards
17609525.jpeg

Ah, I see. The built-in stuff do not support this kind of structure as it needs all items to be of the same type. I’m also not aware of any add-on that gives this to you either.

Your best bet is probably to build this yourself using the available layouting and fields.

There is one option I would atleast prototype and try as you seem to have only two tiered hierarchy. So you do not need Grid, you need two nested Grid’s instead. Grid has thing called details generator. In theory you can place the second tier Grid in the details generator. But note, this approach is known to be buggy to layout sometimes with complex structures and makes the master Grid slower to render.