Request unknown parameter {mData function} from data source for row 0
Request unknown parameter {mData function} from data source for row 0
ausername
Posts: 2Questions: 0Answers: 0
I've seen the FAQ and checked my code a number of times but I am unable to remove the following popup on v1.9.4:
[quote]"DataTables warning (table_id = 'example'): Requested unknown parameter {mData function} from the data source for row 0"[/quote]
The data displays correctly when clicking OK to pop up box.
Debug data link - http://debug.datatables.net/asiwak
Whatever I try does not seem to fix. I'm using Google Chrome.
Please help.
[quote]"DataTables warning (table_id = 'example'): Requested unknown parameter {mData function} from the data source for row 0"[/quote]
The data displays correctly when clicking OK to pop up box.
Debug data link - http://debug.datatables.net/asiwak
Whatever I try does not seem to fix. I'm using Google Chrome.
Please help.
This discussion has been closed.
Replies
One thing I would say, is that it might be worth using mData and mRender rather than just mData on its own. mRender is a little easier since you don't need to set anything.
Allan
The Ajax output is fixed as:
[code]{"aaData":[{"a1": "test 1", "a0": "test 0", "a3": "test 3", "a2": "test 2", "a4": "test 4"}, {"a1": "test 1", "a0": "test 0", "a3": "test 3", "a2": "test 2", "a4": "test 4"}, {"a1": "test 1", "a0": "test 0", "a3": "test 3", "a2": "test 2", "a4": "test 4"}, {"a1": "test 1", "a0": "test 0", "a3": "test 3", "a2": "test 2", "a4": "test 4"}]}[/code]
If need any more then please let me know.
Thank you for your help.
A running example showing the issue so I can debug it as setting up an example takes up time from developing DataTables. See http://datatables.net/forums/discussion/12899/post-test-cases-when-asking-for-help-please-read
Example using mRender based on your data:
http://live.datatables.net/uvudab/2/edit