browse other examples

Grid drag and drop sort, moveBefore

Here two methods are being demonstrated. columnFromPoint() which allows you to get the appropriate ColumnAdapter object by coordinates:
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