In React Typescript using MUI datagrid, need to remove column header which is no longer needed a datagrid without column header ,

need to remove header instead need to add this,
I did this by
"& .MuiDataGrid-columnHeaders, & .MuiDataGrid-columnHeader": {
display: "hidden",
},
the header is not visible any more still it leave some space even I adjust the height. Like this,


In MUI v5, It can be accomplish by making columnHeader display: none and its important to make its margin top to 0 in virtualScroller
And headerHeight={0} , Header=>(null)