Filtering is not providing results properly- server side Datatable

Filtering is not providing results properly- server side Datatable

MayurPMayurP Posts: 23Questions: 4Answers: 0
edited September 2012 in General
I'm using server-side datatable and when I search for results in datatable at fast speed for ex. when I type "abc" 3 character one after another, this will call to server-side and will get response from server.

But it's not giving correct results as reponse is coming bit slow so its displaying all records for abc only for some time and then immdiately it's showing filtered results for "a".

Is there anyway to get response correctly when we type all character in sequence with fast speed although response is coming slow, it should give correct results when we filer for "abc".

Can anyone please provide me an inputs?

Thanks in advance.

Replies

  • allanallan Posts: 63,535Questions: 1Answers: 10,475 Site admin
    Sounds like you might find this plug-in quite useful: http://datatables.net/plug-ins/api#fnSetFilteringDelay . Also make sure you are using sEcho in your server-side response as that is there specifically to stop out of sequence errors.

    Allan
This discussion has been closed.