FlexGrid Column Filter Predefined Setting

Posted by: metrik on 18 March 2020, 8:10 am EST

  • Posted 18 March 2020, 8:10 am EST

    Hello,

    for string column filters Wijmo offers a number of standard options (“Not set”, “Equals”, “Starts With”, “Contains”, etc.).

    When users open column filter window, the filter is set to “Not Set” value by default.

    In my application I would like to make “Contains” as a default option. This will prevent users from an extra click in dropdown.

    Is this possible to achieve?

    Thanks!

  • Posted 19 March 2020, 2:27 am EST

    Hi,

    You may handle the filterChanging event and set the operator of the current column filter. Please refer to the sample below:

    https://stackblitz.com/edit/js-dby8xc

    Regards,

    Ashwin

  • Posted 23 April 2020, 3:48 am EST

    Thanks Ashwin!

Need extra support?

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

Learn More

Forum Channels