datatables warning (table id = 'example') requested unknown parameter
datatables warning (table id = 'example') requested unknown parameter
james270212
Posts: 6Questions: 1Answers: 0
Guys here is My test case and M getting error which is common
http://debug.datatables.net/eminuv
So can you help Me to solve this Error?
This discussion has been closed.
Replies
See the null</code>-or-<code>undefined</code>-data">documentation for this error message. You need to use
sDefaultContent
since some of your data is null.Allan
Its good to see your reply but if M keeping as sDefaultContent Null
Its not giving warning but giving only Null values in table. . .
"aoColumns": [
{ "mDataProp": "userName" , "sDefaultContent" : "" },
{ "mDataProp": "actionName" , "sDefaultContent" : "" },
{ "mDataProp": "actionEvent" , "sDefaultContent" : "" },
{ "mDataProp": "actionDescription" , "sDefaultContent" : "" },
{ "mDataProp": "actionTime" , "sDefaultContent" : "" },
{ "mDataProp": "actionStatus" , "sDefaultContent" : "" }
],
Here is test case : http://debug.datatables.net/axipoh
Looking at your debug trace you have the first column set to
userName
which is fine. Except from the fact that your eta doesn't have auserName
property...The data looks like this:
Allan