aoData is empty when I try to use fnUpdate

aoData is empty when I try to use fnUpdate

sandippatil84sandippatil84 Posts: 1Questions: 1Answers: 0

Hi all,

I add a row to the table using fnAddData() method. The first column of this table has a check box. Using that check box I can edit the row added.
When I try to save my changes on edit and update the row using fnUpdate() it throws error Uncaught TypeError: Cannot set property '_aData' of undefined.

As I debugged through the code aoData is created in fnAddData() for each row.
But when I use fnUpdate() to update the row it fails as oSettings arrya for aoData is empty and does not have any data.

Can someone please suggest me what am I missing here?

Answers

  • allanallan Posts: 61,903Questions: 1Answers: 10,148 Site admin

    Per the forum rules, please link to a test case showing the issue.

    Allan

This discussion has been closed.