Bug with server-side process
Bug with server-side process
Emyleen
Posts: 21Questions: 8Answers: 0
Hello everybody! I have a little problem with the use of server-side process. My code is ok but instead of fill my datatables, the datas appears in the DOM. This is the link to my code but you can't see the result of course. Thank you for your help! http://jsfiddle.net/uhgyfd1c/
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
I update with the answer of the ajax call : http://jsfiddle.net/uhgyfd1c/1/
Your data coming back isn't in the correct format. Take a look here.
The first "1846" should not be there after data, and your objects should be in an array.
Also you need to tell DataTables which data to use for each column, as seen in the Javascript tab in the link I gave you.