html - How to set height of angular ui-grid so that it will fit its parent container -
i trying use angular ui-grid . works well, small scroll bar on y-axis (you can visit there home page view 2 examples there, height of grids there basic grid).
in docs have seen "height" can given, not want scroll bar @ all. want grid fit entire container (page) , scroll grid using browsers scroll-bars.
i have looked everywhere (and in css) , not find solution, can me this?
the ui-grid take space in div element added in. http://plnkr.co/edit/hcg0ucnccbifbvdqewkr?p=preview take @ example , try playing .grid in css.
<div id="grid1" ui-grid="gridoptions" ui-grid-exporter ui-grid-selection class="grid"></div>
Comments
Post a Comment