Dreaded unknown parameter '0' for row 0
Dreaded unknown parameter '0' for row 0
jbants
Posts: 2Questions: 1Answers: 0
Hi all,
Im trying to wrap my head around datatables usage but cant seem to get by the error unknown parameter '0' for row 0.
Am i correct in understanding that i should be defining a data type for each row?
jsfiddle
http://jsfiddle.net/413ryaeq/1/
debugger:
http://debug.datatables.net/ifilin
Thanks for any and all help.
James
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hi James,
The issue was that the
columns
array in your initialisation was nested inside theajax
object, so DataTables wasn't seeing it. Making it a top level property in the configuration object allows it to work as expected.Allan
Ahhh. Second eyes always helps!
Thanks Allan.