How to refresh Datatable with data from AJAX call.
How to refresh Datatable with data from AJAX call.
phpMick
Posts: 17Questions: 5Answers: 1
Hi,
I have two Datatables on my page.
When the user selects rows in the top one, the ids of these rows are used to retrieve the rows for the second Datatable. This is done via AJAX. How can I then load the Datatable with the data returned in the response?
Thanks,
Mick
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hi Mick,
You could just call
rows.add()
on all of them, orrow.add()
on each row in turn,Cheers,
Colin
Thanks Colin,
I just found that as well. I will give it a whirl.
Cheers,
Mick