We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback
Essential JS2

Syncfusion jQuery based widgets are no longer in active development. Switch to our pure JavaScript based next generation Essential JS 2 library.

ejDropDownList enableFilterSearch enableServerFiltering : How to add a delay between search request

Thread ID:





148388 Oct 17,2019 12:16 PM UTC Oct 18,2019 10:14 AM UTC jQuery 1
Tags: ejDropDownList
Asked On October 17, 2019 12:16 PM UTC

How to add a delay  between or limit the requests sent during the search ?

If I type   "abcdefg" in this sample
all this request are sent :

Because my server processing take time I've to limit this kind of requests.

Thank you 

Ashokkumar Balasubramanian [Syncfusion]
Replied On October 18, 2019 10:14 AM UTC

Hi Fabrice BM Raud, 
Good day to you. 
We have checked your requirement at our end. We have triggered the search event on before sent the request to server in Dropdown List component. So, you can use that event to achieve your requirement. Please refer the below code block. 
var controlProperty = 
                dataSource: customerList, 
                fields: { text: "ContactName", value: 'ContactName' }, 
                itemsCount: 100, 
                popupHeight: "200px", 
                width: "250px", 
                enableFilterSearch: true, 
                enableServerFiltering: true, 
                search: function (args) { 
                    //Sent the request to server on searchString value contains more than 3 characters 
                    if (args.searchString.length < 3) { 
                        args.cancel = true; 
Could you please check the sample and get back to us, if you require any further assistance on this? 
Ashokkumar B. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon