data() after cell edit

data() after cell edit

tiebreaktechtiebreaktech Posts: 20Questions: 3Answers: 1
edited December 2015 in Editor

I'd like to reload one row after the edit of a single cell.

so i call:

editor.on( 'submitSuccess', function (e, json, data) {
datatable.row('.selected').data(json.data[0]).draw();
});

the first edit goes well but the second cause a crash with error:

TypeError: b[0].aoData[this[0]] is undefined
...this.length?b[0].aoData[this[0]]._aData:k;b[0].aoData[this[0]]._aData=a;ca(b[0]

The strange thing is that, if i edit a different row after every edit, no problems occur at all. it appens if i try to edit the same
row again.

Replies

This discussion has been closed.