简体   繁体   中英

Vaadin component tree possible?

Is there a way to create a component tree in Vaadin? I googled it but only learned that it was not possible 3 years ago.

For example In a nested tree, a leaf in tree should have a hidden panel that has groups of attributes like combos checkboxes and text fields, which will be visible when user clicks that leaf in the tree, there will also be a show/hide option.

How would you approach to this situation? Treetable can be a solution?

Or can I create/barrow a gwt widget for this and use it in vaadin? Is this a good approach?

Thanks

Combination of TreeTable and GeneratedColumn will be a good solution.

The GeneratedColumn will be use to show your comboBox/Textfield/checkBox.

If you're not familiar with GenratedColumn : 5.14.5 Generated Table Column

Regards, Éric

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM