{"action":"created","issue":{"url":"https://api.github.com/repos/dhis2/d2-ui/issues/127","repository_url":"https://api.github.com/repos/dhis2/d2-ui","labels_url":"https://api.github.com/repos/dhis2/d2-ui/issues/127/labels{/name}","comments_url":"https://api.github.com/repos/dhis2/d2-ui/issues/127/comments","events_url":"https://api.github.com/repos/dhis2/d2-ui/issues/127/events","html_url":"https://github.com/dhis2/d2-ui/issues/127","id":269205739,"number":127,"title":"DataTable: sort data on column header click","user":{"login":"MurhafSousli","id":8130692,"avatar_url":"https://avatars3.githubusercontent.com/u/8130692?v=4","gravatar_id":"","url":"https://api.github.com/users/MurhafSousli","html_url":"https://github.com/MurhafSousli","followers_url":"https://api.github.com/users/MurhafSousli/followers","following_url":"https://api.github.com/users/MurhafSousli/following{/other_user}","gists_url":"https://api.github.com/users/MurhafSousli/gists{/gist_id}","starred_url":"https://api.github.com/users/MurhafSousli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MurhafSousli/subscriptions","organizations_url":"https://api.github.com/users/MurhafSousli/orgs","repos_url":"https://api.github.com/users/MurhafSousli/repos","events_url":"https://api.github.com/users/MurhafSousli/events{/privacy}","received_events_url":"https://api.github.com/users/MurhafSousli/received_events","type":"User","site_admin":false},"labels":[{"id":263037522,"url":"https://api.github.com/repos/dhis2/d2-ui/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-10-27T19:06:40Z","updated_at":"2017-11-06T09:57:06Z","closed_at":null,"author_association":"NONE","body":"Hi, I need to sort the table data on column header click, is this possible with the **DataTable**?\r\n\r\n```jsx\r\n <DataTable\r\n    rows={this.state.dataRows}\r\n    columns={this.state.tableColumns}\r\n    contextMenuActions={availableActions}\r\n    contextMenuIcons={contextMenuIcons}\r\n    primaryAction={(user, ev) => contextActions.details(user)}\r\n    isContextActionAllowed={this.isContextActionAllowed}\r\n/>\r\n```"},"comment":{"url":"https://api.github.com/repos/dhis2/d2-ui/issues/comments/342099444","html_url":"https://github.com/dhis2/d2-ui/issues/127#issuecomment-342099444","issue_url":"https://api.github.com/repos/dhis2/d2-ui/issues/127","id":342099444,"user":{"login":"MurhafSousli","id":8130692,"avatar_url":"https://avatars3.githubusercontent.com/u/8130692?v=4","gravatar_id":"","url":"https://api.github.com/users/MurhafSousli","html_url":"https://github.com/MurhafSousli","followers_url":"https://api.github.com/users/MurhafSousli/followers","following_url":"https://api.github.com/users/MurhafSousli/following{/other_user}","gists_url":"https://api.github.com/users/MurhafSousli/gists{/gist_id}","starred_url":"https://api.github.com/users/MurhafSousli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MurhafSousli/subscriptions","organizations_url":"https://api.github.com/users/MurhafSousli/orgs","repos_url":"https://api.github.com/users/MurhafSousli/repos","events_url":"https://api.github.com/users/MurhafSousli/events{/privacy}","received_events_url":"https://api.github.com/users/MurhafSousli/received_events","type":"User","site_admin":false},"created_at":"2017-11-06T09:57:06Z","updated_at":"2017-11-06T09:57:06Z","author_association":"NONE","body":"@nicolayr Here is a PR for the header click"}}
{"actor":{"display_login":"MurhafSousli"}}