Way to force AJAX reload if bServerSide is false
Way to force AJAX reload if bServerSide is false
CloudStrife
Posts: 6Questions: 0Answers: 0
Hi,
Simple question... I'm using bServerSide false with an initial fetch using sAjaxSource. Is there an API to force AJAX reload? Not seeing it, only option I see is to destroy the table.
Simple question... I'm using bServerSide false with an initial fetch using sAjaxSource. Is there an API to force AJAX reload? Not seeing it, only option I see is to destroy the table.
This discussion has been closed.
Replies
There is a plug-in API function which provides exactly this functionality: http://datatables.net/plug-ins/api#fnReloadAjax .
Regards,
Allan
Thanks for the info! I added the function to my code. I do have one suggestion (since the plugin appears to be your own):
On line 11 I thikn the 2nd param should be [], not null. I got an error in my callback but [] fixed it.
Agreed - thanks for the heads up on that. A legacy issue, but now fixed :-)
Regards,
Allan