The final step is to call the
self.refresh_articles() function on the Homepage if an article is deleted.
self.delete_article() on your Homepage to look like this:
def delete_article(self, article, **event_args): # Delete the article anvil.server.call('delete_article', article) # Refresh articles to remove the deleted article from the Homepage self.refresh_articles()
Run your app and you’ll see that you can now delete articles from the Data Table!