angular-ui/ui-grid

Request: Dynamic height based on row count

Open

#1,735 opened on Oct 6, 2014

View on GitHub
 (74 comments) (0 reactions) (0 assignees)JavaScript (5,395 stars) (2,496 forks)batch import
Hi-Pri Bughelp wantedtype: enhancement

Description

At the moment we solve this by changing the container height based on the number of rows in the grid but it would be nice to be able to tell ui-grid to not be constrained by a specific height so that all rows are visible without the grid itself having to scroll (its fine if the page needs to be scrolled).

While this can be done by setting the container height to something massive, it leaves lots of bordered whitespace which looks bad.

Contributor guide