josebalius / ngReactGrid

A really fast Angular grid using the power of React to render. Based on ng-grid and jQuery DataTables.
http://josebalius.github.io/ngReactGrid/
MIT License
328 stars 47 forks source link

Support Autosize height Grid #57

Closed dungvu-novus closed 4 years ago

dungvu-novus commented 9 years ago

In version 0.7, there's is no way to set height of grid when resize controls, it always set a fixed height when init grid only(default = 400px). Could you support a param like "height" = "auto", "*" or "100%" to make grid filled in the Div placeholder?

Thanks for support, dev.

josebalius commented 9 years ago

I'll allow for the param to be set, not sure about 100% of the div, css can get tricky.

bastienJS commented 9 years ago

I can just upvote this request by dungvu-qe. @josebalius just do it like ui-grid is doing it. https://github.com/angular-ui/ng-grid/blob/master/misc/tutorial/213_auto_resizing.ngdoc

lafriks commented 9 years ago

+1