Open Parthvora opened 8 years ago
Did it in dev for now.
like:
<table ... on-drag="logDrag($oldOrder, $newOrder)" ... >
then in your controller:
$scope.logDrag = function(oldOrder, newOrder) { console.log(oldOrder, newOrder) };
And you will get in console old and new order of headers. Is it what you need ?
Yup, thats exactly what I need.
It's in github project now. Will be added in next release. (will be released in few days and you will be able to update using bower)
Hello, Is there any way to call an custom function while column order gets changed by dragging and also can we get both orders i.e old column order and new column order in that callback function?
Thanks