Unexpected number of TD elements....but neither count is the TD length
Unexpected number of TD elements....but neither count is the TD length
I'm just wondering, if this issue has been fixed with the latest version of datatables...
... we have an intermittent issue when initialising datatables on an existing inplace table.
The table has 400 rows and 6 columns - but every so often the 'Unexpected TD' message comes up, and both numbers quoted as actual and expected don't match 2400.
There are no colspan's, rowspan's or conditional outputs in the code to generate the table
For example: Got 2295, expected 2298 - and then in firebug $('#mytable td').length = 2400 (Also the numbers quoted are not always the same)
Any ideas?
... we have an intermittent issue when initialising datatables on an existing inplace table.
The table has 400 rows and 6 columns - but every so often the 'Unexpected TD' message comes up, and both numbers quoted as actual and expected don't match 2400.
There are no colspan's, rowspan's or conditional outputs in the code to generate the table
For example: Got 2295, expected 2298 - and then in firebug $('#mytable td').length = 2400 (Also the numbers quoted are not always the same)
Any ideas?
This discussion has been closed.
Replies
Allan
The document.ready() function containing the datatables initialiser is above the table definition in the source - would moving the function to the bottom of the source resolve this?
I can't give you any code at the moment as I'm just away from work
Allan