Skip to content

Infragistics Community Forum / Web / Ignite UI for jQuery / Dropdown list for 'filtering' a column instead of a text field

Dropdown list for 'filtering' a column instead of a text field

New Discussion
Daniel Carriveau
Daniel Carriveau asked on Apr 20, 2023 2:33 PM

I’m looking to setup an igGrid filtering column that acts similar to how a date filtering column works (with a dropdown icon) but with values that are already predetermined.

Example: A Status column with a filter dropdown that has ‘Open’, ‘Closed’, ‘Cancelled’, etc. No need for the full-on set of filtering options for that specific column.

Sign In to post a reply

Replies

  • 0
    Riva Ivanova
    Riva Ivanova answered on Apr 20, 2023 7:57 AM

    Hello Daniel,

    Thank you for posting into our community!

    I have been looking into your question and what I could suggest is using the igFiltering feature’s customConditions option as it is used to specify custom filtering conditions as objects for a column.

    Furthermore, in order to limit the displayed filtering conditions inside the filtering dialog, the conditionList option could be used as it determines which conditions to be displayed for a column.

    More detailed information along with code snippets could be found in our Custom Filtering Conditions topic here.

    Here could be found a small sample demonstrating this approach.

    Please test it on your side and let me know if you need any further assistance regarding this matter.

    Looking forward to your reply.

    Sincerely,
    Riva Ivanova
    Associate Software Developer

    • 0
      Daniel Carriveau
      Daniel Carriveau answered on Apr 20, 2023 1:10 PM

      Thanks for the response. I do like that functionality and can see where it could be useful in other situations that I have come across but I'm still looking for a bit different functionality for the column. We really want to just have a selection of items instead of that text field 🙂

      • 0
        Riva Ivanova
        Riva Ivanova answered on Apr 20, 2023 2:33 PM

        Hello Daniel,

        Thank you for following up!

        After further investigating this matter, I need to ask for some additional information to ensure that your question is addressed correctly.

        1. Could you please clarify what do you refer to with “selection of items”? Do you mean that there should be multiple selection of the predefined values?
        2. Should the appearance and functionality be similar to the igCombo?

        Additionally, in case the filtering should be performed by multiple selection of values, what I could suggest is creating a custom combo editor provider for the filter cell. This is achieved by extending the igEditorProvider class and setting your own editor to filter the igGrid content.

        More useful information along with code snippets could be found in our Implementing Custom Editor Provider topic here.

        Additionally, a working sample illustrating how to use EditorProviderCombo to customize the filtering fields can be found here.

        Please test it on your side and let me know if it is an accurate demonstration of what you are trying to achieve.

        Looking forward to your reply.

        Sincerely,
        Riva Ivanova
        Associate Software Developer

  • You must be logged in to reply to this topic.
Discussion created by
Favorites
Replies
Created On
Last Post
Discussion created by
Daniel Carriveau
Favorites
0
Replies
3
Created On
Apr 20, 2023
Last Post
2 years, 10 months ago

Suggested Discussions

Created by

Created on

Apr 20, 2023 2:33 PM

Last activity on

Feb 23, 2026 3:36 PM