angular-ui/ui-grid

Grid height not getting adjusted

Open

#6.916 aberto em 11 de jan. de 2019

Ver no GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (2.496 forks)batch import
help wanted

Métricas do repositório

Stars
 (5.395 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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> 

Guia do colaborador