target = $scope.adapter.gridAdapter.columnFromPoint(evt.clientX, evt.clientY)Another method is moveBefore() which provides an ability to move one column in front of another:
column.moveBefore(target)
col1 | col2 | col3 |
---|---|---|
1 | item #1 | false |
2 | item #2 | false |
3 | item #3 | false |
4 | item #4 | false |
5 | item #5 | false |
6 | item #6 | true |
7 | item #7 | true |
8 | item #8 | true |
9 | item #9 | false |
10 | item #10 | false |