API REFERENCE

pinned

Pins the column left/right, or unpins it with null.

What does this API do?

Pins the column left/right, or unpins it with null.

Exact input and result types

typescript
pinned?: 'left' | 'right' | null
ItemValue
RequiredOptional
Input type'left' | 'right' | null

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