{"action":"created","issue":{"url":"https://api.github.com/repos/ceolter/ag-grid/issues/849","repository_url":"https://api.github.com/repos/ceolter/ag-grid","labels_url":"https://api.github.com/repos/ceolter/ag-grid/issues/849/labels{/name}","comments_url":"https://api.github.com/repos/ceolter/ag-grid/issues/849/comments","events_url":"https://api.github.com/repos/ceolter/ag-grid/issues/849/events","html_url":"https://github.com/ceolter/ag-grid/issues/849","id":149841276,"number":849,"title":"support for max-height","user":{"login":"supersabillon","id":1537642,"avatar_url":"https://avatars.githubusercontent.com/u/1537642?v=3","gravatar_id":"","url":"https://api.github.com/users/supersabillon","html_url":"https://github.com/supersabillon","followers_url":"https://api.github.com/users/supersabillon/followers","following_url":"https://api.github.com/users/supersabillon/following{/other_user}","gists_url":"https://api.github.com/users/supersabillon/gists{/gist_id}","starred_url":"https://api.github.com/users/supersabillon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/supersabillon/subscriptions","organizations_url":"https://api.github.com/users/supersabillon/orgs","repos_url":"https://api.github.com/users/supersabillon/repos","events_url":"https://api.github.com/users/supersabillon/events{/privacy}","received_events_url":"https://api.github.com/users/supersabillon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-20T17:58:58Z","updated_at":"2016-06-16T09:00:22Z","closed_at":null,"body":"The docs say:\r\n\r\n> If using % for your height, then make sure the container you are putting the grid into also has height specified, as the browser will fit the div according to a percentage of the parents height, and if the parent has no height, then this % will always be zero. If your grid is not using all the space you think it should, then put a border on the grid's div and see if that's the size you want (the grid will fill this div). If it is not the size you want, then you have a CSS layout issue to solve outside of the grid.\r\n\r\nIf the grid has 100% height and the container div has a height of 500px, it works as expected. But it ignores the container if you use max-height instead of height.\r\n\r\nIt is possible to add support for max-height? This would be helpful when you're not sure how much data will come back from server and 500px (for example) might me too big. "},"comment":{"url":"https://api.github.com/repos/ceolter/ag-grid/issues/comments/226428204","html_url":"https://github.com/ceolter/ag-grid/issues/849#issuecomment-226428204","issue_url":"https://api.github.com/repos/ceolter/ag-grid/issues/849","id":226428204,"user":{"login":"EndarValuk","id":4099836,"avatar_url":"https://avatars.githubusercontent.com/u/4099836?v=3","gravatar_id":"","url":"https://api.github.com/users/EndarValuk","html_url":"https://github.com/EndarValuk","followers_url":"https://api.github.com/users/EndarValuk/followers","following_url":"https://api.github.com/users/EndarValuk/following{/other_user}","gists_url":"https://api.github.com/users/EndarValuk/gists{/gist_id}","starred_url":"https://api.github.com/users/EndarValuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EndarValuk/subscriptions","organizations_url":"https://api.github.com/users/EndarValuk/orgs","repos_url":"https://api.github.com/users/EndarValuk/repos","events_url":"https://api.github.com/users/EndarValuk/events{/privacy}","received_events_url":"https://api.github.com/users/EndarValuk/received_events","type":"User","site_admin":false},"created_at":"2016-06-16T09:00:22Z","updated_at":"2016-06-16T09:00:22Z","body":"@supersabillon you can always use on grid(75% of visual height, e.g.):\r\n`style=\"height: calc(75vh)\"`"}}
{"actor":{"display_login":"EndarValuk"}}