API REFERENCE
editor
Built-in editor type, such as text, number, date, select, or checkbox.
What does this API do?
Built-in editor type, such as text, number, date, select, or checkbox.
Rich Select (autocomplete) requires Pro. Basic cell editors are Free.
Exact input and result types
editor?: 'text' | 'number' | 'date' | 'select' | 'checkbox' | 'textarea' | 'autocomplete' | 'largeText'| Item | Value |
|---|---|
| Required | Optional |
| Input type | 'text' | 'number' | 'date' | 'select' | 'checkbox' | 'textarea' | 'autocomplete' | 'largeText' |
Usage flow
Set this on an individual column object in columnDefs. Pass arrays, objects, and callbacks through JavaScript, and use new arrays or objects when applying changes.
Feature explanations and examples
- Cell and row editing
Cell editing changes one value immediately; full-row editing commits multiple fields as one row operation. editor specifies the input UI, while editable controls write access.
- Searchable selection editor
This Pro editor narrows a large candidate list through search. Basic Select suits short, fixed lists; Rich Select helps users quickly find an item among many candidates.