What is Datatables expecting, after I create a new row with the editors 'new' function???

What is Datatables expecting, after I create a new row with the editors 'new' function???

SaschaSascha Posts: 1Questions: 1Answers: 0
edited May 2015 in Free community support

Hi,
I wanna know what Datatables or the Editor is expecting to get back, after I create a new entry with the 'new' function from editor.
I am using a Java Servlet.
The Create process is working fine. Just the create window is saying that something went wrong, but it didn't. The new entry is saved in the DB without errors.

I thought maybe I have to return the new dataset i just created, but after i return the following JSON object {"data":["login","test@test.com","fullname","test","test","test","test"]} it says that DataTables warning: table id=results - Requested unknown parameter '0' for row 1920. For more information about this error, please see http://datatables.net/tn/4

I also tried to give back all 1920 rows, but wasn't working neither.

So what is expected to be returned from Java to function normally???

This discussion has been closed.