{"action":"created","issue":{"url":"https://api.github.com/repos/ceolter/ag-grid/issues/627","repository_url":"https://api.github.com/repos/ceolter/ag-grid","labels_url":"https://api.github.com/repos/ceolter/ag-grid/issues/627/labels{/name}","comments_url":"https://api.github.com/repos/ceolter/ag-grid/issues/627/comments","events_url":"https://api.github.com/repos/ceolter/ag-grid/issues/627/events","html_url":"https://github.com/ceolter/ag-grid/issues/627","id":125656401,"number":627,"title":"have option to autosize grid, ie call api.sizeColsToFit automatically","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},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-01-08T17:34:16Z","updated_at":"2016-10-11T11:47:06Z","closed_at":"2016-08-22T09:37:56Z","body":"grid should have option to fit cols by default, and also option to do this when grid size changes."},"comment":{"url":"https://api.github.com/repos/ceolter/ag-grid/issues/comments/252895278","html_url":"https://github.com/ceolter/ag-grid/issues/627#issuecomment-252895278","issue_url":"https://api.github.com/repos/ceolter/ag-grid/issues/627","id":252895278,"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":"2016-10-11T11:47:06Z","updated_at":"2016-10-11T11:47:06Z","body":"\"onGridReady is called too early. Would be good to have an api which fires when data is provided.\"\r\n=> then call sizeColsToFit() after you set the data. if you are using a framework (React or Angular etc) then you need to call it after they have done their update cycle. "}}
{"actor":{"display_login":"ceolter"}}