material-table: Warning: React does not recognize the `cellEditable` prop on a DOM element.

<MaterialTable data={clients}  columns={[]} />

Describe the bug

There is something in the data that is triggering this error. I don’t even need to set columns or any other prop. I believe it didn’t happen before the latest update Happens after data is loaded.

bug1 bug2
  • OS: Windows 10
  • Browser Chrome
  • Version 84.0.4147.89
  • Typescript

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 21
  • Comments: 23 (1 by maintainers)

Commits related to this issue

Most upvoted comments

Why was this closed? I don’t see a fix.

Encountering this warning as well. Also ‘onCellEditStarted’ and ‘onCellEditFinished’.

Going back tot 1.66 fixed it

Hey everyone, it seems the latest version v1.69.2 is working fine regards to this problem. I have updated here and I haven’t got those errors anymore.

beaware of the browser freezing problem

I’ve downgraded material-table like 3 times or more while working in a single project. That made the trick for me for a myriad of random errors. There are fixes to all of those errors (at least the most of them) but material-table haven’t approved a single PR since a while by now.

I have the same issue on version 1.67.1 @mbrn

All! Bump up the version to 1.68.0.

If it is still there delete your node_modules and reinstall make sure that you can see node_modules folder when you do ls then

rm -rf node_modules
npm install

this case can be remain closed

Updating the version to 1.68.0 instead leads to another error:

Warning: Unknown event handler property `onBulkEditRowChanged`. It will be ignored.
    in tr (created by ForwardRef(TableRow))
    in ForwardRef(TableRow) (created by WithStyles(ForwardRef(TableRow)))
    in WithStyles(ForwardRef(TableRow)) (created by MTableEditRow)
    in MTableEditRow (at DailyReport.js:226)
    in EditRow (created by MTableBody)
    in tbody (created by ForwardRef(TableBody))
    in ForwardRef(TableBody) (created by WithStyles(ForwardRef(TableBody)))
    in WithStyles(ForwardRef(TableBody)) (created by MTableBody)
    in MTableBody (created by Droppable)
    in table (created by ForwardRef(Table))
    in ForwardRef(Table) (created by WithStyles(ForwardRef(Table)))
    in WithStyles(ForwardRef(Table)) (created by Droppable)
    in div (created by Droppable)
    in div (created by Droppable)
    in div (created by Droppable)
    in Droppable (created by ConnectFunction)
    in ConnectFunction
    in ConnectFunction (created by MaterialTable)
    in div
    in Unknown (created by WithStyles(Component))
    in WithStyles(Component) (created by MaterialTable)
    in div (created by ForwardRef(Paper))
    in ForwardRef(Paper) (created by WithStyles(ForwardRef(Paper)))
    in WithStyles(ForwardRef(Paper)) (created by Container)
    in Container (created by MaterialTable)
    in Provider (created by App)
    in App (created by ErrorBoundary)
    in ErrorBoundary (created by DragDropContext)
    in DragDropContext (created by MaterialTable)
    in MaterialTable
    in Unknown (created by WithStyles(Component))
    in WithStyles(Component) (at DailyReport.js:168)
    in DailyReport (at AdminPanel.js:189)
    in div (created by ForwardRef(DialogContent))
    in ForwardRef(DialogContent) (created by WithStyles(ForwardRef(DialogContent)))
    in WithStyles(ForwardRef(DialogContent)) (at AdminPanel.js:187)
    in div (created by ForwardRef(Paper))
    in ForwardRef(Paper) (created by WithStyles(ForwardRef(Paper)))
    in WithStyles(ForwardRef(Paper)) (created by ForwardRef(Dialog))
    in div (created by Transition)
    in Transition (created by ForwardRef(Fade))
    in ForwardRef(Fade) (created by Unstable_TrapFocus)
    in Unstable_TrapFocus (created by ForwardRef(Modal))
    in div (created by ForwardRef(Modal))
    in ForwardRef(Portal) (created by ForwardRef(Modal))
    in ForwardRef(Modal) (created by ForwardRef(Dialog))
    in ForwardRef(Dialog) (created by WithStyles(ForwardRef(Dialog)))

Hopefully this PR will fix this issue.

well, I am using 1.67.0 and getting the same error\warning. @NadsonR 1.69.x has it’s own problem of browser freezing so, be cautious not sure if you’ve encountered it so far as I had to downgrade it to 1.67.0 to get around the freezing issue.

same issue here

Hey everyone, it seems the latest version v1.69.2 is working fine regards to this problem. I have updated here and I haven’t got those errors anymore.

I tried to downgrade to v1.57.2 and it removed warning.

Encountering this warning as well. Also ‘onCellEditStarted’ and ‘onCellEditFinished’.

Going back tot 1.66 fixed it

I’m seeing this even in 1.66.0. 😕