DataTables does not complete
DataTables does not complete
Ficos
Posts: 88Questions: 22Answers: 0
I am getting an error when displaying DataTables. Debugger code: ujipef
See https://www.ficos.nl/oostveen-advies/testajaxdatatable/index.html
What have I done wrong? The tables are ok, json is returning nice answers.
Jan
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hi Jan,
You are using objects in your data source, therefore you need to tell DataTables which property to read for each column. That can be done with
columns.data
. See the manual for more details.Allan
Thank you. Putting in the columns solves the problem, but putting in
doesn't load the table. Debugcode: ubevog
There is a Javascript error on your page:
which is correct - it isn't :-). Looks like you just need to remove that line.
Allan
Right, thank you.