DataTables searchDelay working only after the first character
DataTables searchDelay working only after the first character
Hi, I have seen this problem about searchDelay option and the first character in other posted questions but i couldn't find a solution or a workaround. If i'm not wrong i read various dev's posts which stated that this behavior will change in future version.
The problem is that my ServerSide table search the first letter instantly and then wait for the searchDelay option.
I have to simply prevent the search when the search string is under 3 characters. I have tried a couple of methods both in front-end and in back-end but nothing worked out. How can i do this?
This question has an accepted answers - jump to answer
Answers
UPDATE: I just found a perfect solution to my problem in this StackOverflow post:
https://stackoverflow.com/questions/5548893/jquery-datatables-delay-search-until-3-characters-been-typed-or-a-button-clicke/23897722#23897722