{"action":"created","issue":{"url":"https://api.github.com/repos/lorenzofox3/Smart-Table/issues/156","labels_url":"https://api.github.com/repos/lorenzofox3/Smart-Table/issues/156/labels{/name}","comments_url":"https://api.github.com/repos/lorenzofox3/Smart-Table/issues/156/comments","events_url":"https://api.github.com/repos/lorenzofox3/Smart-Table/issues/156/events","html_url":"https://github.com/lorenzofox3/Smart-Table/issues/156","id":41696911,"number":156,"title":"Smart table sorting not working for ajax loaded data","user":{"login":"cloud9amit","id":6944272,"avatar_url":"https://avatars.githubusercontent.com/u/6944272?v=3","gravatar_id":"","url":"https://api.github.com/users/cloud9amit","html_url":"https://github.com/cloud9amit","followers_url":"https://api.github.com/users/cloud9amit/followers","following_url":"https://api.github.com/users/cloud9amit/following{/other_user}","gists_url":"https://api.github.com/users/cloud9amit/gists{/gist_id}","starred_url":"https://api.github.com/users/cloud9amit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloud9amit/subscriptions","organizations_url":"https://api.github.com/users/cloud9amit/orgs","repos_url":"https://api.github.com/users/cloud9amit/repos","events_url":"https://api.github.com/users/cloud9amit/events{/privacy}","received_events_url":"https://api.github.com/users/cloud9amit/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2014-09-02T10:53:08Z","updated_at":"2015-12-17T18:02:45Z","closed_at":"2014-09-03T06:41:56Z","body":"Hi,\r\n\r\nI have created a plunker link: http://plnkr.co/edit/PBX00TGC5E1UEWzRAmPU?p=preview\r\n\r\nto show that smart table data get's reset to blank once we click header for sorting. This issue is particularly seen when data is loaded using ajax.\r\n\r\nAny quick resolution would be really appreciated.\r\n\r\nThanks\r\nAmit"},"comment":{"url":"https://api.github.com/repos/lorenzofox3/Smart-Table/issues/comments/165532949","html_url":"https://github.com/lorenzofox3/Smart-Table/issues/156#issuecomment-165532949","issue_url":"https://api.github.com/repos/lorenzofox3/Smart-Table/issues/156","id":165532949,"user":{"login":"lorenzofox3","id":2402022,"avatar_url":"https://avatars.githubusercontent.com/u/2402022?v=3","gravatar_id":"","url":"https://api.github.com/users/lorenzofox3","html_url":"https://github.com/lorenzofox3","followers_url":"https://api.github.com/users/lorenzofox3/followers","following_url":"https://api.github.com/users/lorenzofox3/following{/other_user}","gists_url":"https://api.github.com/users/lorenzofox3/gists{/gist_id}","starred_url":"https://api.github.com/users/lorenzofox3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lorenzofox3/subscriptions","organizations_url":"https://api.github.com/users/lorenzofox3/orgs","repos_url":"https://api.github.com/users/lorenzofox3/repos","events_url":"https://api.github.com/users/lorenzofox3/events{/privacy}","received_events_url":"https://api.github.com/users/lorenzofox3/received_events","type":"User","site_admin":false},"created_at":"2015-12-17T18:02:44Z","updated_at":"2015-12-17T18:02:44Z","body":"I don't think there is much configuration needed \r\nas discussed in many issues\r\n\r\n1. st-table is just a way to declare a variable name to expose it to the view\r\n2. st-safe-src is the only thing you have to set in the controller if you want smart table to keep tracks of external changes, that's it \r\n\r\nhttp://plnkr.co/edit/UiPpWX9nUzRXopayLOxY?p=preview\r\n\r\nObviously the doc could be improved though, any suggestion ?"}}