angular-ui/ui-grid

Request: Dynamic height based on row count

Chiusa

#1735 aperta il 6 ott 2014

 (74 commenti) (0 reazioni) (0 assegnatari)JavaScript (2496 fork)batch import
Hi-Pri Bughelp wantedtype: enhancement

Metriche repository

Star
 (5395 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor