Refresh datatable after delete from dropdownmenu
Hi i currently have a project where i use tanstack table, but ive run into an issue as i dont know how to refresh the table after i have deleted a entry from my table, i use a api call for deleting of the entry and question is what to do next? Data is fetched from my api .
2 Replies
plain-purple•2y ago
Once the delete action is completed, you need to refetch the data.
Sort of like this
national-gold•2y ago
the table will rerender anytime your
data
changes