Refresh index of table when updating single TD

Refresh index of table when updating single TD

captain_hindsightcaptain_hindsight Posts: 1Questions: 1Answers: 0

I'm loading a table with partial data, one of the columns has nothing in it on initial load. Then I use ajax to load the dynamic column. I'm encountering two issues;

1) I'm not sure how to continuously load all the data on all pages - I can only seem to get it to work for the current page.
2) Once loaded, or fully loaded after clicking on all the pages - the sorting on that column doesn't work, I presume I need to refresh the index or call an API command within datatables itself.

Is there a way to do what I'm after? Load only one column using AJAX and then when I refresh the data periodically, refresh the table index?

Many thanks in advance.

Answers

This discussion has been closed.