angular-ui/ui-grid

Grid height not getting adjusted

Chiusa

#6916 aperta il 11 gen 2019

 (0 commenti) (0 reazioni) (0 assegnatari)JavaScript (2496 fork)batch import
help wanted

Metriche repository

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

Descrizione

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> 

Guida contributor