Setting a default filter operator through the global or column filterable configurations when using a TagHelper Grid is not possible.
Reproduction of the problem
1) Set filter operators in the column filterable configuration.
2) Open the column filter menu.
3) The available filter operators are not ordered as per the order they are defined. When using HtmlHelper Grid, the first defined operator is the default one.
The first defined filter operator should be set as default in the column filter menu when using TagHelper Grid.
Workaround
<!-- Include the following script before the TagHelper grid declaration -->
<script>
kendo.ui.FilterMenu.fn.options.operators.string = {
contains: "Contains",
eq: "Is equal to",
neq: "Is not equal to"
}
</script>
Bug report
Setting a default filter operator through the global or column filterable configurations when using a TagHelper Grid is not possible.
Reproduction of the problem
1) Set filter operators in the column filterable configuration. 2) Open the column filter menu. 3) The available filter operators are not ordered as per the order they are defined. When using HtmlHelper Grid, the first defined operator is the default one.
REPL samples for reproduction:
Expected/desired behavior
The first defined filter operator should be set as default in the column filter menu when using TagHelper Grid.
Workaround
Environment