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?

coldbearcoldbear Posts: 4Questions: 1Answers: 0

How to get the response time in Datatable just like the results time in seconds in google.com?

Replies

  • coldbearcoldbear Posts: 4Questions: 1Answers: 0

    How to get the response time in Datatable just like the results time in seconds in google.com?

  • tangerinetangerine Posts: 3,365Questions: 39Answers: 395

    You have posted the same question four times between 3:20 and 3:24. Why?

  • allanallan Posts: 63,214Questions: 1Answers: 10,415 Site admin

    If you are using server-side processing, I would suggest that you use preXhr and draw 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 use draw to know when the draw is done rather than using the built in filtering input element.

    Allan

This discussion has been closed.