{"action":"created","issue":{"url":"https://api.github.com/repos/vegarringdal/vGrid/issues/58","repository_url":"https://api.github.com/repos/vegarringdal/vGrid","labels_url":"https://api.github.com/repos/vegarringdal/vGrid/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/vegarringdal/vGrid/issues/58/comments","events_url":"https://api.github.com/repos/vegarringdal/vGrid/issues/58/events","html_url":"https://github.com/vegarringdal/vGrid/issues/58","id":189743871,"number":58,"title":"save/restore column visbility and order","user":{"login":"Thanood","id":677826,"avatar_url":"https://avatars.githubusercontent.com/u/677826?v=3","gravatar_id":"","url":"https://api.github.com/users/Thanood","html_url":"https://github.com/Thanood","followers_url":"https://api.github.com/users/Thanood/followers","following_url":"https://api.github.com/users/Thanood/following{/other_user}","gists_url":"https://api.github.com/users/Thanood/gists{/gist_id}","starred_url":"https://api.github.com/users/Thanood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thanood/subscriptions","organizations_url":"https://api.github.com/users/Thanood/orgs","repos_url":"https://api.github.com/users/Thanood/repos","events_url":"https://api.github.com/users/Thanood/events{/privacy}","received_events_url":"https://api.github.com/users/Thanood/received_events","type":"User","site_admin":false},"labels":[{"id":483046209,"url":"https://api.github.com/repos/vegarringdal/vGrid/labels/add%20to%20docs","name":"add to docs","color":"5319e7","default":false},{"id":484513529,"url":"https://api.github.com/repos/vegarringdal/vGrid/labels/implemented","name":"implemented","color":"fbca04","default":false},{"id":483045710,"url":"https://api.github.com/repos/vegarringdal/vGrid/labels/info","name":"info","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-11-16T15:45:49Z","updated_at":"2016-11-21T14:24:52Z","closed_at":null,"body":"Is it somehow possible to restore a certain order of columns?\r\nLet's say I let the user move columns around. I want my app to save this new order so that the user sees the same order he \"left\" with when he opens the app next time.\r\n\r\nFor this I would need to read the column order, save it somewhere (`localStorage` f.i.) and then set it again when loading the app.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/vegarringdal/vGrid/issues/comments/261951420","html_url":"https://github.com/vegarringdal/vGrid/issues/58#issuecomment-261951420","issue_url":"https://api.github.com/repos/vegarringdal/vGrid/issues/58","id":261951420,"user":{"login":"Thanood","id":677826,"avatar_url":"https://avatars.githubusercontent.com/u/677826?v=3","gravatar_id":"","url":"https://api.github.com/users/Thanood","html_url":"https://github.com/Thanood","followers_url":"https://api.github.com/users/Thanood/followers","following_url":"https://api.github.com/users/Thanood/following{/other_user}","gists_url":"https://api.github.com/users/Thanood/gists{/gist_id}","starred_url":"https://api.github.com/users/Thanood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thanood/subscriptions","organizations_url":"https://api.github.com/users/Thanood/orgs","repos_url":"https://api.github.com/users/Thanood/repos","events_url":"https://api.github.com/users/Thanood/events{/privacy}","received_events_url":"https://api.github.com/users/Thanood/received_events","type":"User","site_admin":false},"created_at":"2016-11-21T14:24:52Z","updated_at":"2016-11-21T14:24:52Z","body":"Nice, thanks! :+1: \r\nWould it be possible to, for example read the columns, set the column templates to null, then set the columns so order etc. is restored but only the col templates are taken from default?"}}
{"actor":{"display_login":"Thanood"}}