I am having issues with DataGrid and vertical scroll. Ideally, I would like my grid never to scroll vertically. Instead, it should expand to the full height based on its content. And I am not using data grid pagination.
When I change rowCount dynamically, the height doesn't get re-calculated.

I was able to isolate the issue on codesandbox
There is a second bug related to calculated height present in this sandbox that might be related. The computed height is too small when the grid has a horizontal scroll.

I am having issues with DataGrid and vertical scroll. Ideally, I would like my grid never to scroll vertically. Instead, it should expand to the full height based on its content. And I am not using data grid pagination.
When I change
rowCountdynamically, the height doesn't get re-calculated.I was able to isolate the issue on codesandbox
There is a second bug related to calculated height present in this sandbox that might be related. The computed height is too small when the grid has a horizontal scroll.
