Reputation: 455
I have a DataGrid
with custom cells, when I click on cell to enter some text, it selects/deselects a row. Can I somehow set selection only on checkbox click?
I tried to do something like this:
onCellClick={(params, events) => events.stopPropagation()}
but it didn't help.
My example: https://codesandbox.io/s/serverless-moon-mg78zx?file=/src/App.js
Upvotes: 7
Views: 18464