Global search and column search together in datatables.
Global search and column search together in datatables.
Sohaib Ahmad
Posts: 15Questions: 5Answers: 0
I've server side srcipt written for both global search and individual column search but don't know how to make it work in datatables. Currently when I search in both global and individual column I get an error as shown in screenshot. Does any one know how to make it work ?
Thanks
This discussion has been closed.
Answers
The place to start is to follow the troubleshooting steps provide at the link in the error:
https://datatables.net/manual/tech-notes/1
Let us know what you find.
Kevin
The place to start is to follow the troubleshooting steps provide at the link in the error:
https://datatables.net/manual/tech-notes/1
The problem is with the response from the server. Let us know what you find.
Kevin
Thanks Kevin for the response.
This is what I get in the ajax response tab.
Your server script is returning that. Start by looking at your server logs to find the error.
Kevin
Is there a way to hide this alert box with the error message ?
You can set
$.fn.dataTable.ext.errMode
tonone
, that should do the trick.Colin