JavaScript Data GridDropdown cell type
Collect user input with a searchable list of choices, by using the dropdown cell type.
Overview
The dropdown cell type is based on an autocomplete cell type and can also be searchable.
Usage
This example shows the usage of the dropdown feature. Dropdown is based on Autocomplete cell type. All options used by autocomplete
cell type apply to dropdown
as well.
Internally, cell {type: 'dropdown'}
is equivalent to cell {type: 'autocomplete', strict: true, filter: false}
. Therefore you can think of dropdown
as a searchable <select>
.
Car | Year | Chassis color | Bumper color |
---|---|---|---|
Tesla | 2017 | black | black |
Nissan | 2018 | blue | blue |
Chrysler | 2019 | yellow | black |
Volvo | 2020 | white | gray |
Car | Year | Chassis color | Bumper color |
---|
Related articles
Related guides
Related API reference
- Configuration options:
- Core methods:
- Hooks:
There is a newer version of Handsontable available. Switch to the latest version ⟶