{"action":"opened","issue":{"url":"https://api.github.com/repos/RubaXa/Sortable/issues/850","repository_url":"https://api.github.com/repos/RubaXa/Sortable","labels_url":"https://api.github.com/repos/RubaXa/Sortable/issues/850/labels{/name}","comments_url":"https://api.github.com/repos/RubaXa/Sortable/issues/850/comments","events_url":"https://api.github.com/repos/RubaXa/Sortable/issues/850/events","html_url":"https://github.com/RubaXa/Sortable/issues/850","id":155665046,"number":850,"title":"evt.newIndex and evt.oldIndex is 0 with tables","user":{"login":"esbenboye","id":4438511,"avatar_url":"https://avatars.githubusercontent.com/u/4438511?v=3","gravatar_id":"","url":"https://api.github.com/users/esbenboye","html_url":"https://github.com/esbenboye","followers_url":"https://api.github.com/users/esbenboye/followers","following_url":"https://api.github.com/users/esbenboye/following{/other_user}","gists_url":"https://api.github.com/users/esbenboye/gists{/gist_id}","starred_url":"https://api.github.com/users/esbenboye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esbenboye/subscriptions","organizations_url":"https://api.github.com/users/esbenboye/orgs","repos_url":"https://api.github.com/users/esbenboye/repos","events_url":"https://api.github.com/users/esbenboye/events{/privacy}","received_events_url":"https://api.github.com/users/esbenboye/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-19T06:44:48Z","updated_at":"2016-05-19T06:44:48Z","closed_at":null,"body":"I need to do some sorting in a table and a corrosponding JS array.\r\nI found [this thread](https://github.com/RubaXa/Sortable/issues/835) that states it should be possible to use Sortable on a table, which works without any hassle. \r\n\r\nThe problem occours when I'm trying to get evt.newIndex and evt.oldIndex, then they are both 0 (zero) no matter where i drag/drop from and to. \r\n\r\nPlease check out [this JS Bin](http://jsbin.com/qamuhakulu/1/edit?html,js,console,output) to see the problem. \r\n\r\nI've tried using this code with a regular ul and li's and there's no problem there (unfortunatly I cannot use this approach since it's tabular data I'm moving around)."}}