Add scroll to DataGrid Cell
I need to add horizontal scroll for one cell in my code
<DataGrid
{...{
...dataGridProps,
hideFooterPagination: true,
disableColumnMenu: true,
}}
rows={[...func(tableData)]}
rowCount={6}
columns={[
{
field: 'comment',
headerName: 'Comment',
minWidth: 400,
flex: 1,
align: 'center',
headerAlign: 'center',
sortable: false,
},
]}
autoHeight
/>
<DataGrid
{...{
...dataGridProps,
hideFooterPagination: true,
disableColumnMenu: true,
}}
rows={[...func(tableData)]}
rowCount={6}
columns={[
{
field: 'comment',
headerName: 'Comment',
minWidth: 400,
flex: 1,
align: 'center',
headerAlign: 'center',
sortable: false,
},
]}
autoHeight
/>
