Got an error while try to fill datatable with json data
Got an error while try to fill datatable with json data
Tejas91
Posts: 4Questions: 1Answers: 0
I got alert popup with error message "DataTables warning: table id=example2 - Requested unknown parameter '1' for row 0. For more information about this error, please see http://datatables.net/tn/4"
But i am able to solve the issue behind it .
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Thanks for your question - however, per the forum rules can you link to a test case showing the issue please. This will allow the issue to be debugged.
Information on how to create a test page, if you can't provide a link to your own page can be found here.
Thanks,
Allan
Thanx for reply..
Actually , i right now working locally. i dont have any link to provide you right now
right now my json object reponse like :
which is as expected which i want , but after that i got alert message , which shows error
"DataTables warning: table id=example2 - Requested unknown parameter '1' for row 0. For more information about this error, please see http://datatables.net/tn/4"
my code for filling data table is
i used to apply to serveral type of code for binding a datatable , but got error
Use
columns.data
to tell DataTables where to get the data, notcolumns.title
. See also the manual page for this topic.This issue comes up a lot, it would be helpful to me if you could point out any documentation that made you use the wrong option so I can fix it.
Allan