Requested unknown parameter '1' for row 0.

Requested unknown parameter '1' for row 0.

VexiphneVexiphne Posts: 3Questions: 0Answers: 0
edited February 2014 in DataTables 1.10
DataTables warning: table id=recipients - Requested unknown parameter '1' for row 0.

datatables debug key : ujoqet

I can't link to the webpage because its in development on my test machine. And I can't use the live or jsfiddle because the data is provided through an ajax call.

I read through the suggested material here:http://next.datatables.net/manual/tech-notes/4

It says causes are this:
- There is a colspan or rowspan in the tbody of the table, which is not supported by DataTables.
- Using columns or columnDefs you have specified more columns than there are in the HTML
- The number of cells in the table does not satisfy the equation #cells = #columns * #rows.

I do not use row or colspan, and I am not using any type of column or columnDefs in my datatables init. Without any null values, I'm unsure how the 3rd point works.

what other parts of my code do you need to see to figure out the problem ?

Replies

  • allanallan Posts: 63,489Questions: 1Answers: 10,470 Site admin
    > "aaData": "data"

    I suspect that it is that which DataTables is objecting to. Likewise:

    > "data": "data",

    Remove both and hopefully it will work.

    Allan
  • VexiphneVexiphne Posts: 3Questions: 0Answers: 0
    awesome that was it! i feel silly for trying that... THanks!!
This discussion has been closed.