how do i add a timeout property?
how do i add a timeout property?
espresso74
Posts: 11Questions: 0Answers: 0
Currently i want to add a timeout for every request. i know i could add timeout directly inside $.ajax(timeout:1000),
but dont know how to do that in Datatable plug-in? anyone could help?
thank you.
dave
but dont know how to do that in Datatable plug-in? anyone could help?
thank you.
dave
This discussion has been closed.
Replies
You can use fnServerData to pass in a custom function for the Ajax request. That way you can manipulate the Ajax request as you wish. For example http://datatables.net/examples/server_side/post.html - this shows server-side processing with POST rather than the default GET. This will working for Ajax source files as well as server-side processing.
Allan
Thanks
Dave