Directory

← Back

TreeComboBox

ComboBox like component with hierarchical data.

Author

Contributors

Rating

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.

Sample code

		DepartmentData departmentData = new DepartmentData();
		TreeComboBox<Department> treeComboBox = new TreeComboBox<>(Department::getName);

		treeComboBox.setItems(departmentData.getRootDepartments(), departmentData::getChildDepartments);

Links

Compatibility

(Loading compatibility data...)

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 2.0.0

  • Updated for Vaadin 23 compatibility
Released
2022-08-29
Maturity
BETA
License
Apache License 2.0

Compatibility

Framework
Vaadin 23+
Vaadin 14 in 1.0.0
Browser
Firefox
Opera
Safari
Google Chrome
iOS Browser
Android Browser
Microsoft Edge
Online