Replies: 2 comments
-
add |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
I want to make the react-data-grid fit a div with flex layout. In this layout, drag window, react-data-grid could resize follow the window and colud show horizon/vertical bar.
To Reproduce
Look at this demo:
https://codesandbox.io/s/exciting-jerry-50ygp1?file=/src/App.js:4645-5199
a. set block-size: 100% will fill window height, but it will cover othe div like top/bottom in the example
b. when i set fixed height , react-data-grid display as i expected, but this i should manual calculate div height.
Link to code example:
https://codesandbox.io/s/exciting-jerry-50ygp1?file=/src/App.js:4645-5199
Expected behavior
Environment
react-data-grid
version: 7.0.0-beta.25react
/react-dom
version: 18.2.0Additional context
Beta Was this translation helpful? Give feedback.
All reactions