show/hide row creating un-needed extra column at end of table without header

show/hide row creating un-needed extra column at end of table without header

daveJupixdaveJupix Posts: 6Questions: 0Answers: 0
edited April 2012 in DataTables 1.9
The table starts out with 'Processing' and then comes up with the error

'DataTables warning (table id = 'portalTable'): Requested unknown parameter '5' from the data source for row 0'
I only have 5 data elements that are pulled through from the json (0 to 4) therefore there isnt a 5. For some reason, when the show/hide is created, as well as adding a column for itself and a header, its adding an extra column at the end, with no content in it. but its not creating a header for it.

any ideas what could be causing this glitch?

Thanks in advance.

Replies

  • koosvdkolkkoosvdkolk Posts: 169Questions: 0Answers: 0
    Can you post us some code, e.g. how do you init your table?

    I got the same error when I configured n columns, and then try to feed the table with data containing n-1 columns.
This discussion has been closed.