Custom wijmo filter operator for different columns

Posted by: david.hettmer on 5 August 2020, 11:16 pm EST

  • Posted 5 August 2020, 11:16 pm EST

    Hi Team,

    I am trying to create a wijmo filter for 3 string columns. For the first 2 columns I needed to have all the default operators available and for the last column, I only need the EQ and NQ operators. Since all of the columns are string, when I try to use stringOperators, all column filters are affected.

    Please advice.

    Thanks~

  • Posted 6 August 2020, 5:44 pm EST

    Hi David,

    You will need to get the reference of both the operator ComboBox and filter out the not necessary operators. Make sure you do not filter out the null (not set) operator other Equal operator will always be set even if no filter is applied. Please refer to the sample link below for reference:

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

    Regards,

    Ashwin

Need extra support?

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

Learn More

Forum Channels