Reputation: 129
Trying to get the data after editing with onCellEditCommit but it doesn't work.
Callback fired when the cell changes are committed.
Signature: function(params: GridCellEditCommitParams, event: MuiEvent, details: GridCallbackDetails) => void params: With all properties from GridCellEditCommitParams. event: The event that caused this prop to be called. details: Additional details for this callback.
Material doc, onCellEditCommit trigger when commit a change.
Upvotes: 1
Views: 973
Reputation: 129
Solution:
onCellEditCommit doesn't work because I had editMode='row' on, in this case, you have to use onRowEditCommit which is the same dependent of editMode.
Upvotes: 1