error with sorting

error with sorting

tom1960tom1960 Posts: 2Questions: 0Answers: 0
edited November 2010 in General
Hello,

I’m using DataTables version 1.7.4 with server-side processing.
When I’m searching a non existing string (like ‘xxx’) the following json will send:

{
"sEcho": 2,
"iTotalRecords": "226",
"iTotalDisplayRecords": "0",
"aaData": []
}

I checked it with jsonlint – no errors. But I get the error “DataTables warning: JSON data from server could not be parsed. This is caused by a JSON formatting error.”
My expectation is the note for ‘sZeroRecords’ (dataTables.german.txt).
Any ideas what can be wrong?

Thanks a lot for you're great work!
This discussion has been closed.