Grid height 100%

0 Answers 380 Views
Grid
Kristof
Top achievements
Rank 1
Iron
Iron
Kristof asked on 15 Sep 2021, 07:10 AM

Hi,

I have a kendo-grid control on my page, wrapped in parent div-element that calculates the space of the content area.

The grid is configured with ngStyle to have a height.% = 100 and scrollmode = 'scrollable'

 

The grid takes the available space of the parent div-element with success. At the moment data is loaded into the grid, the grid does not respect the available space and grows in size. The page scrollbars become active, the grid scrollbars remains disabled.

Any idea what's going wrong here?

It seems that the grid only reacts on fixed heights -> height.px = 200 (for example)

No answers yet. Maybe you can help?

Tags
Grid
Asked by
Kristof
Top achievements
Rank 1
Iron
Iron
Share this question
or