I have a data table I'm using to display data. When a user clicks Add Data it pops up a form modal, the user enters the data and then submits it, the modal is closed. The problem I'm facing is that the table does not refresh automatically, I have to refresh the page.
What would be the right way to do this?