Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82036

Empty table and reload Json data

$
0
0

My use case is that once I receive data from server side, I need to massage data (add a tags, classes, and the like) before I can add it to the table.

I can remove all data by using $("#example tbody").empty(); then I can use t.add().row([array]);
but this is slow also need to fix pagination

Is there a shortcut to that to empty table, add rows and adjust pagination?

Thanks,

-AI


Viewing all articles
Browse latest Browse all 82036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>