{"action":"created","issue":{"url":"https://api.github.com/repos/handsontable/handsontable/issues/1501","labels_url":"https://api.github.com/repos/handsontable/handsontable/issues/1501/labels{/name}","comments_url":"https://api.github.com/repos/handsontable/handsontable/issues/1501/comments","events_url":"https://api.github.com/repos/handsontable/handsontable/issues/1501/events","html_url":"https://github.com/handsontable/handsontable/issues/1501","id":34341266,"number":1501,"title":"Sorting passing logical index through afterChange event","user":{"login":"alexpaluzzi","id":1376892,"avatar_url":"https://avatars.githubusercontent.com/u/1376892?v=3","gravatar_id":"","url":"https://api.github.com/users/alexpaluzzi","html_url":"https://github.com/alexpaluzzi","followers_url":"https://api.github.com/users/alexpaluzzi/followers","following_url":"https://api.github.com/users/alexpaluzzi/following{/other_user}","gists_url":"https://api.github.com/users/alexpaluzzi/gists{/gist_id}","starred_url":"https://api.github.com/users/alexpaluzzi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexpaluzzi/subscriptions","organizations_url":"https://api.github.com/users/alexpaluzzi/orgs","repos_url":"https://api.github.com/users/alexpaluzzi/repos","events_url":"https://api.github.com/users/alexpaluzzi/events{/privacy}","received_events_url":"https://api.github.com/users/alexpaluzzi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/handsontable/handsontable/labels/Assistance%20needed","name":"Assistance needed","color":"0052cc"},{"url":"https://api.github.com/repos/handsontable/handsontable/labels/Guess:%20%3C%202%20hours","name":"Guess: < 2 hours","color":"d4c5f9"},{"url":"https://api.github.com/repos/handsontable/handsontable/labels/Priority:%20normal","name":"Priority: normal","color":"fbca04"},{"url":"https://api.github.com/repos/handsontable/handsontable/labels/Question","name":"Question","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-05-27T04:28:19Z","updated_at":"2015-11-06T10:39:58Z","closed_at":null,"body":"I am seeing the logical index and not the physical index being passed around in the afterChange event. In this documentation, at the very bottom, it says I should be getting the physical index through this event: https://github.com/warpech/jquery-handsontable/wiki/Understanding-column-sorting-plugin#rows-indices-translation\r\n\r\nI added the event to the jsfiddle that is in the docs, I changed nothing else-- see here: http://jsfiddle.net/NsxWC/1/\r\n\r\nEdit the first row before sorting and row 0 prints to console, as expected. Sort by any column and edit the first row again and the console still prints 0.\r\n\r\nIs this intended?"},"comment":{"url":"https://api.github.com/repos/handsontable/handsontable/issues/comments/154375861","html_url":"https://github.com/handsontable/handsontable/issues/1501#issuecomment-154375861","issue_url":"https://api.github.com/repos/handsontable/handsontable/issues/1501","id":154375861,"user":{"login":"thbar","id":10141,"avatar_url":"https://avatars.githubusercontent.com/u/10141?v=3","gravatar_id":"","url":"https://api.github.com/users/thbar","html_url":"https://github.com/thbar","followers_url":"https://api.github.com/users/thbar/followers","following_url":"https://api.github.com/users/thbar/following{/other_user}","gists_url":"https://api.github.com/users/thbar/gists{/gist_id}","starred_url":"https://api.github.com/users/thbar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thbar/subscriptions","organizations_url":"https://api.github.com/users/thbar/orgs","repos_url":"https://api.github.com/users/thbar/repos","events_url":"https://api.github.com/users/thbar/events{/privacy}","received_events_url":"https://api.github.com/users/thbar/received_events","type":"User","site_admin":false},"created_at":"2015-11-06T10:39:58Z","updated_at":"2015-11-06T10:39:58Z","body":"Also, is [`getSelectedRange`](http://docs.handsontable.com/0.20.0/Core.html#getSelectedRange) guaranteed to provide logical indexes?"}}