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.

Include group in ejDropDownList filter search

Thread ID:





142393 Jan 31,2019 10:25 AM UTC Feb 4,2019 04:57 AM UTC jQuery 3
Tags: ejDropDownList
Malcolm van Staden
Asked On January 31, 2019 10:25 AM UTC


When enabling filter search, is there a way to have the search include the grouped by field?

Prince Oliver [Syncfusion]
Replied On February 1, 2019 12:23 PM UTC

Hi Malcolm, 

Thank you for contacting Syncfusion support. 

To enable the grouped by field included in the DropDownList filtering, we need to modify the search query in the search event to include the category field. Kindly refer to the following code snippet. 
        width: "100%", 
        watermarkText: "Select a vegetable", 
        dataSource: skillset, 
        fields: { text: "skill", category: "category" }, 
        allowGrouping: true, 
        enableFilterSearch: true, 
        search: function (args) { 
            args.searchQuery = ej.Query().where(ej.Predicate(this.model.fields.text, this.model.filterType, this._queryString, true).or(this.model.fields.category, this.model.filterType, this._queryString, true)); 

We have attached a sample for your reference, please find the sample at the following location: https://jsplayground.syncfusion.com/dsnbc50l  

Please let us know if you need any further assistance on this. 


Malcolm van Staden
Replied On February 1, 2019 02:38 PM UTC

Excellent. That works great. Thank you for the solution.

Prince Oliver [Syncfusion]
Replied On February 4, 2019 04:57 AM UTC

Hi Malcolm, 

Most welcome. We are glad to help you. Please let us know if you need any further assistance on this. 



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