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

typescript
editor?: 'text' | 'number' | 'date' | 'select' | 'checkbox' | 'textarea' | 'autocomplete' | 'largeText'
ItemValue
RequiredOptional
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