fnUpdate by row

fnUpdate by row

tbeattytbeatty Posts: 2Questions: 0Answers: 0
edited March 2014 in General
I'm trying to get a row, modify the values, and update the table. I can update one cell OK, but when I try to update the whole row I get a script error. Looking at the syntax, I think it should work. Here is the test code: http://live.datatables.net/koxalaj/1/edit

Button update1 updates the cell and update2 tries to update the row.

Thanks.

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    I think this might be a bug in 1.9.4, but the way around it is to use `undefined` rather than `null` as the third parameter: http://live.datatables.net/koxalaj/2/edit .

    The problem doesn't exist when using the legacy API with 1.10: http://live.datatables.net/koxalaj/3/edit

    Allan
  • tbeattytbeatty Posts: 2Questions: 0Answers: 0
    Thanks Allan, much appreciated.
This discussion has been closed.