DataTables warning: JSON data from server could not be parsed.
DataTables warning: JSON data from server could not be parsed.
baset
Posts: 2Questions: 0Answers: 0
Hi Allan ,
I have a problem with DataTable. I am trying server side datatables using JSON Array then it does every thing correctly Paging ,sorting ..Etc but when i 'm trying to search then i get this error
BTW : i debugged and find that the jason array is formatted correctly (i checked it )
Could you help me with that ??
I have a problem with DataTable. I am trying server side datatables using JSON Array then it does every thing correctly Paging ,sorting ..Etc but when i 'm trying to search then i get this error
BTW : i debugged and find that the jason array is formatted correctly (i checked it )
Could you help me with that ??
This discussion has been closed.
Replies
i did some thing like changing versions of datatable , do you think that may cause that error ??
Almost certainly the error is in your SQL (assuming you are using an SQL database) that is adding the WHERE condition for your filter then. Have a look at the JSON return in Firebug, there will likely be an error message there indicating what the error is.
Allan