dead-brownD
Refine16mo ago
4 replies
dead-brown

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
/>
Was this page helpful?