Minimum Characters in Filter
Minimum Characters in Filter
This is an awesome tool and I love it so far.
I am using datatables to retrieve data from server with Search(filter) enabled. What I want to do is invoke the server call after the user has typed the mininum characters in the search box.
Thanks.
I am using datatables to retrieve data from server with Search(filter) enabled. What I want to do is invoke the server call after the user has typed the mininum characters in the search box.
Thanks.
This discussion has been closed.
Replies
This would be possible with a modification to the fnSetFilteringDelay() plug-in API function ( http://datatables.net/plug-ins/api#fnSetFilteringDelay ). Basically an extra condition on the string length before setting the filter should do the trick (although remember to consider a blank string input to clear the filter ;-) ).
Regards,
Allan
i need to set minimum 3 characters for search filter text box.. how to do that..?
Please help me to solve this issue guys..
with regards,
Unsiv