V7 Container height
Hi,
Why in V7 is still no availability to use height='100%'?
It would be very convenient, if react-data-grid container height could be dynamic.
You can achieve this with an AutoSizer from the "react-virtualized" module. See the example below:
https://github.com/adazzle/react-data-grid/blob/canary/stories/demos/CommonFeatures.tsx#L275
I do find it odd that this is not built-in though.
You can achieve this with an
AutoSizerfrom the "react-virtualized" module. See the example below:
Thanks for advice. I thought about Measure from 'react-measure', but react-virtualized will be a better decision. I'll try this.
https://github.com/bvaughn/react-window#related-libraries
It's better to use react-virtualized-auto-sizer if you only need this 1 component rather than the bloated package.
In v6 i did it with css only, so maybe in v7 it is also possible?
In v6 i did it with css only, so maybe in v7 it is also possible?
Me too, but in V7 you cant.