79227511

Date: 2024-11-26 16:27:21
Score: 0.5
Natty:
Report link

Ours was a somewhat specific use case, but we were able to access all of the same props as before by switching from the cell slot to a wrapper in the renderCell method in our column definitions.

export const authorColumns: GridColDef[] = [
  {
    field: 'Actions',
    ...
    renderCell: props => (
      <CellBase {...props}>
        <ActionsCell {...props} />
      </CellBase>
    ),
    ...
  },
  ...
]

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: ryguy