colunm.nTf undefined tfoot colspan
colunm.nTf undefined tfoot colspan
dwgreen
Posts: 4Questions: 3Answers: 0
We are trying to use DataTables with a table that has a tfoot with colspan="9" spanning all the columns. There is actually a form in the tfoot, which could potentially be moved into its own div below, but it should be possible to keep it in the tfoot. The actual error we get is on line 1751 (of the unminified js file): TypeError: column is undefined column.nTf = cells[i].cell;
If I remove the tfoot, the error goes away. Not sure what the best and proper way is to fix this.
This discussion has been closed.
Answers
Can you link to a test case showing the problem, as noted in the forum rules, please?
I've just made a little example here: http://live.datatables.net/biwurase/1/edit - which appears to show the colspan working as expected.
Thanks,
Allan