Minimum Characters in Filter

Minimum Characters in Filter

edited October 2009 in General Posts: 2
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.



  • Posts: 22,706
    Hi abchi,

    This would be possible with a modification to the fnSetFilteringDelay() plug-in API function ( ). 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 ;-) ).

  • Posts: 2
    Beautiful.. Thanks so much, Allan.
  • Posts: 4

    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

Sign In or Register to comment.