gregnb / gregnb/mui-datatables
Recommendation for handling failed remote delete
Open
enhancement
- Dominant language
- JavaScript
- Stars
- 2.7k
- Forks
- 906
- PR merge metrics
- No merged PRs in 30d
Description
When deleting some rows, I'm making remote api calls to delete those objects from our backend. Is there a recommendation for what to do in the case that remote call fails? The rows are removed from the spreadsheet on the client. At this point, I probably should add the failed row back? How can I accomplish this from the onRowsDelete handler? Thanks
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.