TypeError: aoColumns[srcCol] is undefined examples/data_sources/js_array.html
TypeError: aoColumns[srcCol] is undefined examples/data_sources/js_array.html
I cant get this example to work
https://datatables.net/examples/data_sources/js_array.html
fails with
TypeError: aoColumns[srcCol] is undefined[Learn More] jquery.dataTables.js:5963:4
_fnSortFlatten https://cdn.datatables.net/1.12.1/js/jquery.dataTables.js:5963:4
_fnSortingClasses https://cdn.datatables.net/1.12.1/js/jquery.dataTables.js:6301:14
DataTable/</loadedInit https://cdn.datatables.net/1.12.1/js/jquery.dataTables.js:1190:5
DataTable/< https://cdn.datatables.net/1.12.1/js/jquery.dataTables.js:1289:5
.each
the code
http://jsfiddle.net/d4j70awc/1/
This question has an accepted answers - jump to answer
Answers
I found a stupid resolution
http://jsfiddle.net/d4j70awc/2/