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

Create DropDownList Filter

Hi All,

I have a question about DropDownList,
 How do you create a dropdownlist filter?

Regards,
Nicholas



1 Reply

PO Prince Oliver Syncfusion Team January 13, 2017 08:53 AM UTC

Hi Nicholas, 

Thanks for contacting Syncfusion support. 

In order to enable filter in dropdownlist, use enable-filter-search property. Have a look at the following code snippet. 

<ej-drop-down-list id="customerList" query="ej.Query().from('Customers')" watermark-text="Select a customer" enable-filter-search="true" > 
    <e-datamanager url="//mvc.syncfusion.com/Services/Northwnd.svc/"></e-datamanager> 
    <e-drop-down-list-fields text="CustomerID" table-name="Customers" /> 
</ej-drop-down-list> 
  
Refer to the following link for sample: 

Regards, 
Prince 


Loader.
Up arrow icon