Data table with MVC jsonresult does not seem to function

Data table with MVC jsonresult does not seem to function

ExadonExadon Posts: 1Questions: 1Answers: 0

https://debug.datatables.net/ecirab

Above is my debug. I was having issues getting my datatable to load json being passed to it via an ajax call. I decided to force my json call to return the same json used in the ajax exaple provided on this site (just to see it working)

Yet I still receive the following error
"jquery.dataTables.js:3287 Uncaught TypeError: Cannot read property 'length' of undefined"

I have googled around and saw different reasons for this error such as not defining the containing array with in the Column parameter. Yet the example seems to imply that this is not needed. Which makes me assume "data": is default.

Any idea what I am doing wrong> Debug above.

This discussion has been closed.