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!

surabhi1211surabhi1211 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();


              });

Answers

  • tangerinetangerine Posts: 3,365Questions: 39Answers: 395

    i Get unknown Parameter error!

    Can you be more precise about the error?

  • allanallan Posts: 63,893Questions: 1Answers: 10,531 Site admin

    Ideally with a link to a test case showing the issue please.

    Allan

This discussion has been closed.