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.
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
DepartmentData departmentData = new DepartmentData(); TreeComboBox<Department> treeComboBox = new TreeComboBox<>(Department::getName); treeComboBox.setItems(departmentData.getRootDepartments(), departmentData::getChildDepartments);
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.
- Improve design by moving popup open button to prefix of the input field
- Apache License 2.0
- Vaadin 24+
- Vaadin 23 in 2.0.0
- Vaadin 14 in 1.1.0
- Google Chrome
- iOS Browser
- Android Browser
- Microsoft Edge