FlexGrid Column Filter Predefined Setting

Posted by: metrik on 17 March 2020, 11:10 pm EST

  • Posted 17 March 2020, 11:10 pm 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!
  • Replied 18 March 2020, 5:27 pm 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
Need extra support?

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

Learn More

Forum Channels