I am using a DataGrid with at least 20 rows. What I wanted is to limit it's display within a certain height and the rest of the rows can be seen using the scrollbar of the component. The scroll for the DataGrid itself is not showing
<DataGrid
columns={columns}
rows={data}
checkboxSelection
hideFooter
autoHeight
disableSelectionOnClick
disableColumnMenu
disableColumnSelector
/>
Edit: pageSize is not allowed since it has been decided to not use it in the other pages as well, so I have no choice but to use scrollbar.