https://github.com/vaadin-component-factory/tree-combo-box
ComboBox like component with hierarchical data on selection popup
https://github.com/vaadin-component-factory/tree-combo-box
Last synced: 23 days ago
JSON representation
ComboBox like component with hierarchical data on selection popup
- Host: GitHub
- URL: https://github.com/vaadin-component-factory/tree-combo-box
- Owner: vaadin-component-factory
- License: other
- Created: 2020-09-29T14:11:45.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-11-17T07:56:45.000Z (over 1 year ago)
- Last Synced: 2024-04-17T10:09:41.571Z (about 1 year ago)
- Language: Java
- Size: 65.4 KB
- Stars: 2
- Watchers: 7
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Component Factory TreeComboBox for Vaadin 14
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.# What does the component do?
TreeComboBox allows filtering out items organized in a hierarchy and selecting one.
## Basic Usage
```java
DepartmentData departmentData = new DepartmentData();
TreeComboBox treeComboBox = new TreeComboBox<>(Department::getName);
treeComboBox.setItems(departmentData.getRootDepartments(), departmentData::getChildDepartments);
```# How to run the demo?
The Demo can be run by executing the maven goal:
```mvn jetty:run```
After server startup, you'll be able find the demo at [http://localhost:8080/](http://localhost:8080/)
## Setting up for development:
Clone the project in GitHub (or fork it if you plan on contributing)
```
git clone [email protected]:vaadin-component-factory/tree-combo-box.git
```to install project to your maven repository run
```mvn install```## License & Author
This Add-on is distributed under Apache 2.0
Component Factory TreeCombobox is written by Vaadin Ltd.
### Sponsored development
Major pieces of development of this add-on has been sponsored by multiple customers of Vaadin. Read more about Expert on Demand at: [Support](https://vaadin.com/support) and [Pricing](https://vaadin.com/pricing)