Error in Add Row
Error in Add Row
elahi1mahdi
Posts: 9Questions: 5Answers: 0
I Want To Add Row But Show this error .Why?
Code
var table = $('#Mytable').DataTable();
var rowNode = table.row.add([firstrow, model.title, model.task, model.description, data.department_status, lastrow])
.draw(false)
.node().id = model.department_Id;
Error
Cannot set property '_aData' of undefined
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
It could mean the data structure does not match what Datatables is expecting. Can you post your Datatables init code?
Kevin