Datatables throwing error and showing nulls.
Datatables throwing error and showing nulls.
anup756
Posts: 4Questions: 2Answers: 0
DataTables Debugger code: upolak (http://debug.datatables.net/upolak)
Table Name: myTable
Error: DataTables warning (table id = 'mytable'): Requested unknown parameter 'transDate' from the data source for row 0
Problem:
It throws the error above and shows nulls for all the values inside the table.
Would really appreciate if someone could help me.
Thanks!
This discussion has been closed.
Answers
This tech document should help: http://datatables.net/manual/tech-notes/4
Allan
The code is returning all the values in valid JSON format (browser console). But still not showing it in the table.
Got the answer. It's not the problem with JSON or datatables either. I had to user aData instead of mData. I don't know why. But, it worked.