How to get the response time in Datatable just like the results time in seconds in google.com?
How to get the response time in Datatable just like the results time in seconds in google.com?
coldbear
Posts: 4Questions: 1Answers: 0
How to get the response time in Datatable just like the results time in seconds in google.com?
This discussion has been closed.
Replies
How to get the response time in Datatable just like the results time in seconds in google.com?
You have posted the same question four times between 3:20 and 3:24. Why?
If you are using server-side processing, I would suggest that you use
preXhr
anddraw
to take two time stamps and take the difference.If you are using client-side processing, I'm not sure there is a simple way of doing it. You'd probably need to call the
search()
method yourself and then usedraw
to know when the draw is done rather than using the built in filtering input element.Allan