json search request optimalisation
json search request optimalisation
hi,
i use the datatable with the json serverside option, when i use the search input the script sends a request to the server... what is great!
everything works wel.... but 1 problem
the script sends a request per letter that you type..
so if you search 'hello'
you will get a search for
?s=h
?s=he
?s=hel
?s=hell
?s=hello
that wil load the server 5x more...and give less performance..
hou can we change this ?
i use the datatable with the json serverside option, when i use the search input the script sends a request to the server... what is great!
everything works wel.... but 1 problem
the script sends a request per letter that you type..
so if you search 'hello'
you will get a search for
?s=h
?s=he
?s=hel
?s=hell
?s=hello
that wil load the server 5x more...and give less performance..
hou can we change this ?
This discussion has been closed.
Replies
Allan