TreeComboBox
ComboBox like component with hierarchical data.
This is hierarchical ComboBox type single select component. It currently works with in-memory data providers, i.e. TreeDataProvider, it supports filtering, but not adding new items on the fly.
Sponsored development
Major pieces of development of this add-on has been sponsored by customers of Vaadin. Read more about Expert on Demand at: Support and Pricing
Sample code
DepartmentData departmentData = new DepartmentData(); TreeComboBox<Department> treeComboBox = new TreeComboBox<>(Department::getName); treeComboBox.setItems(departmentData.getRootDepartments(), departmentData::getChildDepartments);
Links
Compatibility
Was this helpful? Need more help?
Leave a comment or a question below. You can also join
the chat on Discord or
ask questions on StackOverflow.
Version
Version 3.1.0
- Improve design by moving popup open button to prefix of the input field
- Released
- 2023-03-31
- Maturity
- BETA
- License
- Apache License 2.0
Compatibility
- Framework
- Vaadin 24+
- Vaadin 23 in 2.0.0
- Vaadin 14 in 1.1.0
- Browser
- Firefox
- Opera
- Safari
- Google Chrome
- iOS Browser
- Android Browser
- Microsoft Edge