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

typescript
cellEditor?: GridCellEditorDeclaration<TData, TValue, TContext>
ItemValue
RequiredOptional
Input typeGridCellEditorDeclaration<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