Need exact custom Filter in filtering

Posted by: nilesh_nichal on 10 March 2024, 10:04 pm EST

  • Posted 10 March 2024, 10:04 pm EST - Updated 10 March 2024, 10:09 pm EST

    Hi Team,

    We need a customize filter which is having option of Exact and Contains.

    For now our existing code we have Contains filter which is working perfectly fine, but we need a option of Exact for one input box which will filter based on exact match.

    I am attaching two screenshot, the first one is the existing one which is working normally like contains filter. The second screenshot is when we need an option of Exact match and option for Contains based on selection it will filter the items/value.

    Please let us know if you need more inputs from our end.

  • Posted 12 March 2024, 12:25 am EST

    Hi Nilesh,

    You can handle the ‘filterChanging’ event of the FlexGridFilter to modify the filter dropdown layout as per your requirements and use a custom filter function to filter the grid data by exact match or contains type filter as required.

    Please refer to the following sample demonstrating the same - https://stackblitz.com/edit/js-cpmzv6?file=index.js

    In case, you face any issues, please let us know.

    Regards

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels