Hi,
I HAVE PROBLEM whith binding vaadin tree to database.
my project is about displaying data from a database into a tree form
i have no idea how to make it .PLEASE I NEED HELP
Hi,
I HAVE PROBLEM whith binding vaadin tree to database.
my project is about displaying data from a database into a tree form
i have no idea how to make it .PLEASE I NEED HELP
You need to create a Hierarchical Container that gets its data from your database and use that as the datasource for either the Tree or for the Vaadin TreeTable add-on. There is another add-on, SQLContainer, that should make pulling data from the database easier. Don’t know if SQLContainer is hierarchical. If not, then you can wrap it in a ContainerHierarchicalWrapper.
can you please post a complete example i’m still a newbie whith databinding
actually im using sqlcontainer and i’ve come to realise it with a table but i’m still strugling with the tree