API REFERENCE

reorderableColumns

Allows users to reorder columns by dragging headers.

What does this API do?

Allows users to reorder columns by dragging headers.

Exact input and result types

typescript
reorderableColumns: boolean
ItemValue
JavaScript namereorderableColumns
HTML attributereorderable-columns
Defaultfalse
Input typeboolean

Usage flow

Set this on a property of the Grid element. In HTML, you can also use the reorderable-columns attribute. Pass arrays, objects, and callbacks through JavaScript, and use new arrays or objects when applying changes.

Feature explanations and examples