datatables – Uncaught TypeError: Cannot set property ‘_DT_CellIndex’ of undefined

Uncaught TypeError: Cannot set property ‘_DT_CellIndex’ of undefined

SOLUCIÓN:

Revisar que existan tantas cabeceras como columnas.

Revisar la configuracion del fichero javascript, posiblemente ‘targets’ tiene un numero de columna erronea.