material-table icon indicating copy to clipboard operation
material-table copied to clipboard

onRowUpdated is not re-rendering the view with Redux, isEditable & isDeletable not working.

Open Androsv96 opened this issue 6 years ago • 2 comments

I'm using material-table and I'm not being able to do the following: 1: I have already populated the table, but the edit button is not hidding even with this condition: isEditable: rowData => false Same with isDeletable. 2: After updating a row, inside onRowUpdate function I'm cloning my redux store this way: let data = {...state.myReducer.myKey}; Then I'm updating data with the row I just modified, after that I'm dispatching an action with the new data so my reducer updates my store, my view recieves the modified data but the table does not refresh (re-render) and I do not know why. I hope somebody can help me out with this. Thanks :3

Androsv96 avatar Jan 20 '20 12:01 Androsv96

See #1400

jdavidferreira avatar Feb 04 '20 01:02 jdavidferreira

I'm going to wait for the merge. Closing this issue.

Androsv96 avatar Feb 04 '20 19:02 Androsv96