Dexkill
Dexkill

Reputation: 284

Vaadin Tree Nodes (closed)

Does anybody know a API or something for Vaadin that i dont have to save the nodes as Strings to reidentify them?

This is important for me because i'm working on a Programm on with the User chooses the Names and they are not static for ever.

Would realy love something like:

Node node = new Node("Title");
Node node1 = new Node("Title1");
node.addNode(node1);
tree.addNode(node);

Thanks for every answere.

Upvotes: 0

Views: 424

Answers (1)

d2k2
d2k2

Reputation: 714

in vaadin item identifiers do not have to be a String. They just have to be an object.

Maybe you are looking for the Tree component from Vaadin? https://vaadin.com/book/-/page/components.tree.html

Upvotes: 1

Related Questions