angular-ui/ui-grid

Grid height not getting adjusted

Open

#6,916 建立於 2019年1月11日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)JavaScript (2,496 fork)batch import
help wanted

倉庫指標

Star
 (5,395 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

I have a filter row and ui-grid. when the filter is toggled (visible), the ui-grid's height is not getting resized and so last few rows and vertical scroll bar is getting hidden below.

I tried to set the height as auto instead of setting in %, but then it takes only half of the available space always. Also, I have tried the autoResize feature of ui-grid.

<div>
 <div class="row" id="toggleFilter"></div> 
 <div class="grid"></div>
</div> 

貢獻者指南