gregnb / gregnb/mui-datatables

Recommendation for handling failed remote delete

Open
#302 4 comments 0 reactions 1 assignee Claimed by @gregnb View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.