Error requested unknown parameter '' for row 0
Error requested unknown parameter '' for row 0
drakula1234
Posts: 58Questions: 1Answers: 0
Allan, I have data for 6 columns, I compute the sum of the columns(2-6) and add that as a new column to the existing datatable as total.
I am getting 'requested unknown parameter '' for row 0'. I could not resolve the issue. Here is the link to debugger
http://debug.datatables.net/aboxab.
Am I doing something wrong ?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
It might be your
"mData": ""
part. I think you have to use"mData": null
and you might have to add a default value, I'm not positive."mData": null, "sDefaultContent":""
thanks for the reply, after declaring
sDefaultContent: ''
it doesn't show that error on the pageYup - @ignignokt is bob on. You need to tell DataTables what to do with null data (it won't just display an empty string since, unlike Oracle
null !== ''
. Also better to usemData: null
otherwise DataTables will try to read from an empty string parameter.Allan