{"action":"created","issue":{"url":"https://api.github.com/repos/wet-boew/wet-boew/issues/5843","labels_url":"https://api.github.com/repos/wet-boew/wet-boew/issues/5843/labels{/name}","comments_url":"https://api.github.com/repos/wet-boew/wet-boew/issues/5843/comments","events_url":"https://api.github.com/repos/wet-boew/wet-boew/issues/5843/events","html_url":"https://github.com/wet-boew/wet-boew/issues/5843","id":39318310,"number":5843,"title":"information about data tables sorting","user":{"login":"pliz22","id":5824593,"avatar_url":"https://avatars.githubusercontent.com/u/5824593?v=3","gravatar_id":"","url":"https://api.github.com/users/pliz22","html_url":"https://github.com/pliz22","followers_url":"https://api.github.com/users/pliz22/followers","following_url":"https://api.github.com/users/pliz22/following{/other_user}","gists_url":"https://api.github.com/users/pliz22/gists{/gist_id}","starred_url":"https://api.github.com/users/pliz22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pliz22/subscriptions","organizations_url":"https://api.github.com/users/pliz22/orgs","repos_url":"https://api.github.com/users/pliz22/repos","events_url":"https://api.github.com/users/pliz22/events{/privacy}","received_events_url":"https://api.github.com/users/pliz22/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wet-boew/wet-boew/labels/Help:%20Implementation","name":"Help: Implementation","color":"84b6eb"},{"url":"https://api.github.com/repos/wet-boew/wet-boew/labels/Plugin:%20Table%20enhancement%20(DataTables)","name":"Plugin: Table enhancement (DataTables)","color":"006b75"}],"state":"open","locked":false,"assignee":{"login":"jeresiv","id":1923316,"avatar_url":"https://avatars.githubusercontent.com/u/1923316?v=3","gravatar_id":"","url":"https://api.github.com/users/jeresiv","html_url":"https://github.com/jeresiv","followers_url":"https://api.github.com/users/jeresiv/followers","following_url":"https://api.github.com/users/jeresiv/following{/other_user}","gists_url":"https://api.github.com/users/jeresiv/gists{/gist_id}","starred_url":"https://api.github.com/users/jeresiv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeresiv/subscriptions","organizations_url":"https://api.github.com/users/jeresiv/orgs","repos_url":"https://api.github.com/users/jeresiv/repos","events_url":"https://api.github.com/users/jeresiv/events{/privacy}","received_events_url":"https://api.github.com/users/jeresiv/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2014-08-01T19:03:06Z","updated_at":"2015-06-11T19:01:08Z","closed_at":null,"body":"I am using the data tables, and one of my columns is using data-ajax-replace to change the content for every row in the column.\r\ni've tried many ways to sort this column but it never sorts, it does not change.\r\nso my question is mainly, does data table keep a cache or sort based on the source, or based on what the DOM looks like at this moment in time.\r\nhere, for example, is what is in the column before AJAX and it is sorted from 22 to 25:\r\n```html\r\n<td><div data-ajax-replace=\"linkscount.aspx?ssd=1234&countid=22\"><span class=\"fa fa-spinner fa-spin\"></span></div></td>\r\n```\r\n```html\r\n<td><div data-ajax-replace=\"linkscount.aspx?ssd=1234&countid=25\"><span class=\"fa fa-spinner fa-spin\"></span></div></td>\r\n```\r\nhere, for example, is what is in the column after AJAX, and no matter that i click on the sort button, it is always sorted from 22 to 25 (or, it never sorts, it just remains the same):\r\n```html\r\n<td><span class=\"wb-inv\">0</span><a href=\"links.aspx?catid=22\">0 links</a></td>\r\n```\r\n```html\r\n<td><span class=\"wb-inv\">14</span><a href=\"links.aspx?catid=25\">14 links</a></td>\r\n```\r\nwhat it should be doing is moving the 14 up and the 0 down, and or the 0 up and the 14 down."},"comment":{"url":"https://api.github.com/repos/wet-boew/wet-boew/issues/comments/111240269","html_url":"https://github.com/wet-boew/wet-boew/issues/5843#issuecomment-111240269","issue_url":"https://api.github.com/repos/wet-boew/wet-boew/issues/5843","id":111240269,"user":{"login":"pliz22","id":5824593,"avatar_url":"https://avatars.githubusercontent.com/u/5824593?v=3","gravatar_id":"","url":"https://api.github.com/users/pliz22","html_url":"https://github.com/pliz22","followers_url":"https://api.github.com/users/pliz22/followers","following_url":"https://api.github.com/users/pliz22/following{/other_user}","gists_url":"https://api.github.com/users/pliz22/gists{/gist_id}","starred_url":"https://api.github.com/users/pliz22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pliz22/subscriptions","organizations_url":"https://api.github.com/users/pliz22/orgs","repos_url":"https://api.github.com/users/pliz22/repos","events_url":"https://api.github.com/users/pliz22/events{/privacy}","received_events_url":"https://api.github.com/users/pliz22/received_events","type":"User","site_admin":false},"created_at":"2015-06-11T19:01:08Z","updated_at":"2015-06-11T19:01:08Z","body":"Yes \n\nSent from Yahoo Mail on Android\n\nFrom:\"hsrudnicki\" <notifications@github.com>\nDate:Thu, Jun 11, 2015 at 11:07 AM\nSubject:Re: [wet-boew] information about data tables sorting (#5843)\n\nCan be this issue closed?\n\n—\nReply to this email directly or view it on GitHub.￼\n\n"}}