angular-ui/ui-grid

Request: Dynamic height based on row count

Open

#1,735 创建于 2014年10月6日

在 GitHub 查看
 (74 评论) (0 反应) (0 负责人)JavaScript (2,496 fork)batch import
Hi-Pri Bughelp wantedtype: enhancement

仓库指标

Star
 (5,395 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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.

贡献者指南