WarUI

Select and Combo Editor

GRID-A14-F09P0baselinePlanned

Picks a value from a list of options. It can be a strict select or a combo that also accepts free text. It handles separate value and label fields, so stored IDs are shown with readable names.

Planned. This page shows the specification from issue #193. The live example, source for every framework and the API reference replace it when the feature ships.

Live example

An employees grid with Department (select) and Title (combo) columns.

Expected behavior

The dropdown opens with the current value highlighted. Typing filters the options. In combo mode, text that matches no option is committed as typed. Row-dependent options change when the department changes.

Planned API surface

editor: 'select'|'combo'editorParams.optionseditorParams.valueFieldeditorParams.labelFieldeditorParams.allowFreeTexteditorParams.filterableeditorParams.optionsFn(row)

Acceptance criteria

  • The stored value is the option's valueField. The cell displays labelField. (pending)
  • Arrow keys move through the options, and Enter selects one and commits. (pending)
  • Strict mode rejects text that matches no option. (pending)
  • optionsFn receives the row and its result is used for that row only. (pending)