This is a migrated thread and some comments may be shown as answers.

Filter menu customization don't work in ASP.NET Core Grid

1 Answer 147 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Flotman
Top achievements
Rank 1
Flotman asked on 24 Aug 2017, 08:33 AM

Hi,

I want to remove some filter menu options, but for ASP.NET core gird it didnt' work at all. Even your sample is buggy http://demos.telerik.com/aspnet-core/grid/filter-menu-customization. When I switch to pure JS smaple it will work properly.

 

1 Answer, 1 is accepted

Sort by
0
Alex Hajigeorgieva
Telerik team
answered on 28 Aug 2017, 07:17 AM
Hi,

Thank you very much for taking the time to report this. I have now logged it as an issue and you may follow its progress at:

https://github.com/telerik/kendo-ui-core/issues/3537

Once a developer is assigned to fix it, you will be able to see a milestone appear to indicate which release will include the fix. As a workaround, you can:

-  override the operators before the Kendo UI Grid for ASP.NET Core is created with JavaScript as shown the documentation here:

http://docs.telerik.com/kendo-ui/api/javascript/ui/grid#configuration-filterable.operators

<script>
   kendo.ui.FilterMenu.fn.options.operators.string = {
     startswith: "Starts",
     eq: "Equal"
     neq: "Not equal"
   };
</script>

or

- define them at a column level

As a token of appreciation for helping us improve, I have added some Telerik points to your account.

Kind Regards,
Alex Hajigeorgieva
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
Flotman
Top achievements
Rank 1
Answers by
Alex Hajigeorgieva
Telerik team
Share this question
or