API REFERENCE

sortable

Determines whether users can sort this column.

What does this API do?

Determines whether users can sort this column.

Exact input and result types

typescript
sortable?: boolean
ItemValue
RequiredOptional
Input typeboolean

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