<DataGrid
  {...data}
  checkboxSelection
  disableRowSelectionOnClick
  keepNonExistentRowsSelected
  slots={{
    toolbar: GridToolbar,
  }}
  slotProps={{
    toolbar: {
      showQuickFilter: true,
    },
  }}
/>