An open API service indexing awesome lists of open source software.

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

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)