- // // {getDateString(params.row.pdfFrom,false)}
- // //
- // ),
- // },
{
- id: 'name',
field: 'name',
headerName: 'Name',
flex: 2,
- renderCell: (params) => {
- return (
-
+
console.error(error)}
getRowHeight={() => 'auto'}
paginationModel={paginationModel}
onPaginationModelChange={setPaginationModel}
- slots={{
- noRowsOverlay: () => (
- CustomNoRowsOverlay()
- )
- }}
+ slots={{ noRowsOverlay: CustomNoRowsOverlay }}
pageSizeOptions={[10]}
autoHeight
/>
);
-}
+}
\ No newline at end of file