Uncaught TypeError: Cannot set property '_DT_CellIndex' of undefined
Uncaught TypeError: Cannot set property '_DT_CellIndex' of undefined
AhmedFer
Posts: 3Questions: 2Answers: 0
I have a datatable and a list of the alphabet caracter,when i click a caracter it will bring me a list of name that contains this caracter, but when i click the list appear in the datatable but without the searchbox and the pagination and number of rows tha can i choose and there is this error in the script :
" VM492 jquery.dataTables.min.js:24 Uncaught TypeError: Cannot set property '_DT_CellIndex' of undefined "
I use ASP.NET MVC
This discussion has been closed.
Answers
this is a screen shot of the errors
https://docs.google.com/document/d/e/2PACX-1vQ4TNaF9YjE1JLTZCEXQfMwvaFviXirsX_a-rfBX5BGihiPejg67wyOgStij3dDprFZN4s647_LCNdH/pub
That error typically happens if
columns
and the HTML have a different number of columns defined, or thethead
andtbody
have a different number of columns defined in them. They all need to be the same.Allan