0
votes

I have set filterable attribute to true of kendo ui grid. When the filter is opened it lists all the filter options.It has a deopdown with 'And' and 'OR' option. The dropdown shows first 'And' option and then the 'OR' option.

I have a requirement where I want to show first 'OR' option and then the 'And' option.

How can I do this. Please tell me.

1

1 Answers

1
votes

You can customize filter menu. Here is the link on docs.Kendoui. You can customize it as per below code.

filterable: {
    extra: true,
    operators: {
        string: {
            startswith: "Starts with",
            eq: "Is equal to",
            neq: "Is not equal to"
        }
    }
},

But I don't think you can change the sequence of And/Or options in the dropdown.