JQuery Data Table Redraw
JQuery Data Table Redraw
peterwkc
Posts: 21Questions: 0Answers: 0
Hi all, I have a JQuery data table initialization in page 1. Then, I have the delete a single row operation in page 2. How to get the JQuery data table instance in page 2 in order to call oTable.fnDraw(true);
Is it I need to call the ajax again to get the data from server before calling oTable.fnDraw(true);
Please help.
Thanks.
Is it I need to call the ajax again to get the data from server before calling oTable.fnDraw(true);
Please help.
Thanks.
This discussion has been closed.
Replies
Post a test case please.
I don't understand the question I'm afraid. Do you want to know how to get the DataTable instance again? Just call `$('#myTable').dataTable()` again, or store the variable somewhere.
Allan