Dreaded unknown parameter '0' for row 0

Dreaded unknown parameter '0' for row 0

jbantsjbants 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

Answers

  • allanallan Posts: 63,747Questions: 1Answers: 10,509 Site admin
    Answer ✓

    Hi James,

    The issue was that the columns array in your initialisation was nested inside the ajax object, so DataTables wasn't seeing it. Making it a top level property in the configuration object allows it to work as expected.

    Allan

  • jbantsjbants Posts: 2Questions: 1Answers: 0

    Ahhh. Second eyes always helps!
    Thanks Allan.

This discussion has been closed.