I have to add a new row to an exisitng table but i Get unknown Parameter error!
I have to add a new row to an exisitng table but i Get unknown Parameter error!
surabhi1211
Posts: 2Questions: 2Answers: 0
Following is my code!
I am adding two blank values since there is no data available
$.each(data, function(index, value) {
console.log(value.doc);
console.log(value.doc);
table.row.add(['','',value.doc,value.doc,"<span><i class='glyphicon glyphicon-trash'</i></span>"]).draw();
});
This discussion has been closed.
Answers
Can you be more precise about the error?
Ideally with a link to a test case showing the issue please.
Allan