Posted 15 May 2020, 6:18 am EST
Dear Wijmo Team,
I’m struggeling to make the height of my flexgrid responsive to the browsers window height using CSS.
See this simplified example:
Description text
of
variable height
.page {
height: 100vh;
}
.wj-flex-grid {
height: 100%;
border: 1px solid #dfdfdf;
}
My constraints are:
- Page wrapper should not be scrollable (hence the height: 100vh)
- Height of flexgrid should only be as high as necessary (if there are only a few rows)
- Height of flexgrid should not exceed the browsers window height
- Horizontal scrollbars should be visible (they take up vertical height it seems)
- Vertical scrollbars should be visible, too
- I don’t know the height of the header-container
To me it seems like flexgrid expects to get a fixed height but I really need to deal with responsive browsers window heights.
I’m using Angular but I need to find a solution that works with CSS.
Best regards
Moritz