Once, you click delete, you send a request to the server, once you get the response, you run an animation where you remove row and put on another table, this can be done by giving an id to your tr and then remove id and adding to the top of the 2nd table.
Assuming there are 2 tables in one page. table 1 shows the list of all items and table 2 shows the list of all deleted items. whenever i click delete button the corresponding row from table 1 is moved to table 2.
I am not sure how to do all these in one page!
How to update 2 tables in one page in django