jQuery deferred exception
jQuery deferred exception
On one of my tables, I'm getting
Uncaught TypeError: Cannot set property '_DT_CellIndex' of undefined
at _fnCreateTr (jquery.datatables.1.10.12.js:3090)
at _fnAddData (jquery.datatables.1.10.12.js:2409)
at HTMLTableRowElement.<anonymous> (jquery.datatables.1.10.12.js:2437)
at jquery-3.3.1.min.js:2
at Function.map (jquery-3.3.1.min.js:2)
at w.fn.init.map (jquery-3.3.1.min.js:2)
at _fnAddTr (jquery.datatables.1.10.12.js:2435)
at HTMLTableElement.<anonymous> (jquery.datatables.1.10.12.js:1329)
at Function.each (jquery-3.3.1.min.js:2)
at w.fn.init.each (jquery-3.3.1.min.js:2)
It looks like I have things in order in terms of <tr> matching <th>. Are there other known issues that cause this problem? I have used nearly identical code (i.e. different field names) in other reports with no issues. Any help with what to look for?
This question has an accepted answers - jump to answer
Answers
See if this thread helps. Looks to have lots of ideas. If it doesn't help then we will need to see a link to your page or a test case replicating the issue to help debug.
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin