Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
30
Creating a dropdown list for 'filtering' an igGrid column instead of a free-form text field
posted

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.

Parents
  • 740
    Offline posted

    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

Reply Children