Category Archives: JavaScript

ag-grid drag and drop column header to re-arrange

Hi all,

I needed drag and drop for ag-grid‘s header to re-arrange columns.

There wasn’t any example I found on the web, so I implemented one, using HTML5 drag&drop.

This post hopefully will help someone looking for the same thing. Leave a comment if this is true.

See the sample here: http://plnkr.co/edit/S9Qjno?p=preview

Github thread here; https://github.com/ceolter/ag-grid/issues/6

And embedded live example below: