Need to append the new data in the existing datatable.

Need to append the new data in the existing datatable.

Naresh155Naresh155 Posts: 2Questions: 0Answers: 0

Based up on your example, I tried to append new data in the existing datatable. i am facing error like this "DataTables warning: table id=myTable - Cannot reinitialise DataTable". Could you able to advice for this error.

$('#myTable').DataTable({
data: JsonString,
columns: [{title: "Travelagentid"},{title: "Datetime"},{title: "Openingbalance"},{title: "Totaldebit"},{title: "Totalcredit"},{title: "Closingbalance"}]
});

This discussion has been closed.