I'm using the Kendo version 2022.3.913.545
The default filter type selected in the dropdown is "DoesNotContain"!
When does it happen? when I add the localization file kendo.messages.**-**.min.js, while it should be "Contains"!
update: it seems Kendo selects the 5th (index 4) element of the filter dropdown as the default filter type! and in our language the order of the elements are as follows:
IsEqualTo,
IsNotEqualTo,
StartsWith,
Contains,
DoesNotContain,
EndsWith,
...
so the DoesNotContain is selected by default!
it is solvable by adding the following line
.Filterable(filter => filter.Operators(op=>op.ForString(t=>t.Clear().IsEqualTo("***").IsNotEqualTo("***").StartsWith("***").EndsWith("***").Contains("***").DoesNotContain("***").IsNotNullOrEmpty("***").IsNullOrEmpty("***"))).Mode(GridFilterMode.Row)))
it clears the filter types from the dropdown and puts item by item as you put in the list! On this occasion, I put the Contains filter type on the fifth position so it works!
but I don't want to use this method and want to use the Kendo localization only!!