Skip to content
Advertisement

How to reload/refresh jQuery dataTable?

I am trying to implement functionality whereby clicking a button on the screen will cause my jQuery dataTable to refresh (as the server-side data source may have changed since the dataTable was created).

Here’s what I have:

JavaScript

But when I run this, it does nothing. What’s the proper way to refresh the dataTable when the button is clicked?

Advertisement

Answer

You can try the following:

JavaScript

http://www.meadow.se/wordpress/?p=536

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement