I am getting following exception can anyone help me?
I am getting following exception can anyone help me?
Uncaught TypeError: Cannot read property 'aDataSort' of undefined
at _fnSortFlatten (jquery.dataTables.js:4482)
at _fnSortingClasses (jquery.dataTables.js:4816)
at HTMLTableElement.<anonymous> (jquery.dataTables.js:6427)
at Function.each (jquery.js:2)
at m.fn.init.each (jquery.js:2)
at m.fn.init.DataTable [as dataTable] (jquery.dataTables.js:6050)
at HTMLButtonElement.eval (eval at <anonymous> (jquery.js:2), <anonymous>:27:40)
at HTMLButtonElement.dispatch (jquery.js:3)
at HTMLButtonElement.r.handle (jquery.js:3)
This question has an accepted answers - jump to answer
Answers
If I recall it correctly this error occurs if your HTML table declaration does not fully match with your Javascript table declaration. I would also check the server side.
Yes , you are right @rf1234 Thanks.