Modal data, need to refresh datatable

I have a datatable to display the data from the sqldb in the server. this is working perfectly.

I have a made a modal that will add data to the mysqldb in the server. this is also working perfectly.

using Ajax formdata to send data to php. Once the data is saved to the db, I need the datatable to be refreshed... how can I do it?

Text formatting options
Submit

Replies (1)

Hi,

You can refer to the official Datatables documentation here. The datatables plugin should have an API method for data source reload that you can call in your code when needed.

Regards.

Text formatting options
Submit
Text formatting options
Submit