API REFERENCE
cellEditor
Declares a custom cell editor. Use editor to select a built-in editor type.
What does this API do?
Declares a custom cell editor. Use editor to select a built-in editor type.
Rich Select Editor requires Pro. Custom cell editors are Free.
Exact input and result types
cellEditor?: GridCellEditorDeclaration<TData, TValue, TContext>| Item | Value |
|---|---|
| Required | Optional |
| Input type | GridCellEditorDeclaration<TData, TValue, TContext> |
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.
Read related types
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.