API REFERENCE

options

Values and display labels for select editors. Individual options can be disabled.

What does this API do?

Values and display labels for select editors. Individual options can be disabled.

Exact input and result types

typescript
options?: ReadonlyArray<{ value: unknown; label: string; disabled?: boolean }>
ItemValue
RequiredOptional
Input typeReadonlyArray<{ value: unknown; label: string; disabled?: boolean }>

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