a.replace is not a function
a.replace is not a function
yglodt
Posts: 2Questions: 1Answers: 0
Hi,
I have a table with one column (in my test setup), and I want it to be populated with Datatables using the following fragment:
$("#example").DataTable({
"ajax" : {
"type" : "POST",
"url" : "<c:url value='/theurl' />"
},
"columns" : [ {
"data" : "date_created"
}]
});
The json-response is well formed, does not contain null-values, and has the data available as a key named "data" (which contains an array of objects)
When the page is loaded I get "TypeError: a.replace is not a function" and I don't really see where it could come from.
Any idea ?
This discussion has been closed.