angular-ui/ui-grid

Request: Dynamic height based on row count

Open

#1,735 建立於 2014年10月6日

在 GitHub 查看
 (74 留言) (0 反應) (0 負責人)JavaScript (5,395 star) (2,496 fork)batch import
Hi-Pri Bughelp wantedtype: enhancement

描述

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.

貢獻者指南