{"action":"created","issue":{"url":"https://api.github.com/repos/ceolter/angular-grid/issues/296","labels_url":"https://api.github.com/repos/ceolter/angular-grid/issues/296/labels{/name}","comments_url":"https://api.github.com/repos/ceolter/angular-grid/issues/296/comments","events_url":"https://api.github.com/repos/ceolter/angular-grid/issues/296/events","html_url":"https://github.com/ceolter/angular-grid/issues/296","id":93448815,"number":296,"title":"sizeColumnsToFit not filling my screen","user":{"login":"chiptus","id":1381655,"avatar_url":"https://avatars.githubusercontent.com/u/1381655?v=3","gravatar_id":"","url":"https://api.github.com/users/chiptus","html_url":"https://github.com/chiptus","followers_url":"https://api.github.com/users/chiptus/followers","following_url":"https://api.github.com/users/chiptus/following{/other_user}","gists_url":"https://api.github.com/users/chiptus/gists{/gist_id}","starred_url":"https://api.github.com/users/chiptus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chiptus/subscriptions","organizations_url":"https://api.github.com/users/chiptus/orgs","repos_url":"https://api.github.com/users/chiptus/repos","events_url":"https://api.github.com/users/chiptus/events{/privacy}","received_events_url":"https://api.github.com/users/chiptus/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-07T06:22:44Z","updated_at":"2015-07-07T08:07:57Z","closed_at":"2015-07-07T06:49:36Z","body":"Hi,\r\n\r\nI have sizeColumnsToFit triggered on window resize (would be nice if it was part of the module - suggestion)...\r\nIt works when I make the window smaller, but when I stretch the window, the grid stays at the same size and columns are not sized up. "},"comment":{"url":"https://api.github.com/repos/ceolter/angular-grid/issues/comments/119112756","html_url":"https://github.com/ceolter/angular-grid/issues/296#issuecomment-119112756","issue_url":"https://api.github.com/repos/ceolter/angular-grid/issues/296","id":119112756,"user":{"login":"ceolter","id":6539563,"avatar_url":"https://avatars.githubusercontent.com/u/6539563?v=3","gravatar_id":"","url":"https://api.github.com/users/ceolter","html_url":"https://github.com/ceolter","followers_url":"https://api.github.com/users/ceolter/followers","following_url":"https://api.github.com/users/ceolter/following{/other_user}","gists_url":"https://api.github.com/users/ceolter/gists{/gist_id}","starred_url":"https://api.github.com/users/ceolter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ceolter/subscriptions","organizations_url":"https://api.github.com/users/ceolter/orgs","repos_url":"https://api.github.com/users/ceolter/repos","events_url":"https://api.github.com/users/ceolter/events{/privacy}","received_events_url":"https://api.github.com/users/ceolter/received_events","type":"User","site_admin":false},"created_at":"2015-07-07T08:07:57Z","updated_at":"2015-07-07T08:07:57Z","body":"> Ok, i guess the event is called before the end of it, and thus the grid thought the size is smaller than it should have been. inserting a timeout helped.\r\n\r\nyes, that shounds right, no way to tell the order of things getting fired. the grid listens to window resize to do the layout again."}}